summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/tests/test_general.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/tests/test_general.cc')
-rw-r--r--gnuradio-core/src/tests/test_general.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnuradio-core/src/tests/test_general.cc b/gnuradio-core/src/tests/test_general.cc
index bc89c0b6b..16ee9c3ad 100644
--- a/gnuradio-core/src/tests/test_general.cc
+++ b/gnuradio-core/src/tests/test_general.cc
@@ -22,14 +22,18 @@
#include <cppunit/TextTestRunner.h>
#include <cppunit/XmlOutputter.h>
+
+#include <gr_unittests.h>
#include <qa_general.h>
int
main (int argc, char **argv)
{
- CppUnit::TextTestRunner runner;
+ char path[200];
+ get_unittest_path ("gnuradio_core_general.xml", path, 200);
- std::ofstream xmlfile("cppunit_test_general.xml");
+ CppUnit::TextTestRunner runner;
+ std::ofstream xmlfile(path);
CppUnit::XmlOutputter *xmlout = new CppUnit::XmlOutputter(&runner.result(), xmlfile);
runner.addTest (qa_general::suite ());