diff options
author | Josh Blum | 2011-01-18 01:00:15 -0800 |
---|---|---|
committer | Josh Blum | 2011-01-18 01:00:15 -0800 |
commit | 05cc02cec03507c47846a668c92e6dcc4ba2e71e (patch) | |
tree | 8576c0c9977400aaaf26470766b6e9c9c3e83ce3 /gcell/apps | |
parent | 31bbbec88b19230eb37b197d7623c3671e57837e (diff) | |
download | gnuradio-05cc02cec03507c47846a668c92e6dcc4ba2e71e.tar.gz gnuradio-05cc02cec03507c47846a668c92e6dcc4ba2e71e.tar.bz2 gnuradio-05cc02cec03507c47846a668c92e6dcc4ba2e71e.zip |
cleanup mkdir usage with boost filesystem:
Replaced copy/pasted code and MKDIR_TAKES_ONE_ARG #ifdefs
with portable boost filesystem path and directory creation.
Gets the correct home directory on windows systems: APPDATA.
Replaces large amounts of copypasta with single lines of code.
Removes MKDIR_TAKES_ONE_ARG configuration checks from m4 files.
Adds boost filesystem and system library as build dependencies.
Diffstat (limited to 'gcell/apps')
-rw-r--r-- | gcell/apps/test_all.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcell/apps/test_all.cc b/gcell/apps/test_all.cc index 0b608e13b..3f6f9256d 100644 --- a/gcell/apps/test_all.cc +++ b/gcell/apps/test_all.cc @@ -29,11 +29,8 @@ int main(int argc, char **argv) { - char path[200]; - get_unittest_path ("gcell_all.xml", path, 200); - CppUnit::TextTestRunner runner; - std::ofstream xmlfile(path); + std::ofstream xmlfile(get_unittest_path("gcell_all.xml").c_str()); CppUnit::XmlOutputter *xmlout = new CppUnit::XmlOutputter(&runner.result(), xmlfile); runner.addTest(qa_gcell_runtime::suite()); |