diff options
author | Tom Rondeau | 2011-01-22 14:54:34 -0500 |
---|---|---|
committer | Tom Rondeau | 2011-01-22 14:54:34 -0500 |
commit | 9880d22f38e0f96116f0d7409ccbbd148c9db53d (patch) | |
tree | deb9d99fb256e5a39d3edf0db2591aa1fb007a7d /gnuradio-core/src/tests/test_runtime.cc | |
parent | 5ad1695febf1f0ef2055693b3af385470c0f66a5 (diff) | |
parent | ebb0f56da62e9ff16928b32cc525f24c93a99e0b (diff) | |
download | gnuradio-9880d22f38e0f96116f0d7409ccbbd148c9db53d.tar.gz gnuradio-9880d22f38e0f96116f0d7409ccbbd148c9db53d.tar.bz2 gnuradio-9880d22f38e0f96116f0d7409ccbbd148c9db53d.zip |
Merge branch 'mergeme/misc/mkdir_simplification' into next
Diffstat (limited to 'gnuradio-core/src/tests/test_runtime.cc')
-rw-r--r-- | gnuradio-core/src/tests/test_runtime.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnuradio-core/src/tests/test_runtime.cc b/gnuradio-core/src/tests/test_runtime.cc index c7983a23e..77af3001b 100644 --- a/gnuradio-core/src/tests/test_runtime.cc +++ b/gnuradio-core/src/tests/test_runtime.cc @@ -1,6 +1,6 @@ /* -*- c++ -*- */ /* - * Copyright 2002,2010 Free Software Foundation, Inc. + * Copyright 2002,2010,2011 Free Software Foundation, Inc. * * This file is part of GNU Radio * @@ -29,11 +29,8 @@ int main (int argc, char **argv) { - char path[200]; - get_unittest_path ("gnuradio_core_runtime.xml", path, 200); - CppUnit::TextTestRunner runner; - std::ofstream xmlfile(path); + std::ofstream xmlfile(get_unittest_path("gnuradio_core_runtime.xml").c_str()); CppUnit::XmlOutputter *xmlout = new CppUnit::XmlOutputter(&runner.result(), xmlfile); runner.addTest (qa_runtime::suite ()); |