summaryrefslogtreecommitdiff
path: root/gcell/apps/test_all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcell/apps/test_all.cc')
-rw-r--r--gcell/apps/test_all.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcell/apps/test_all.cc b/gcell/apps/test_all.cc
index 0b608e13b..fc3afd8ca 100644
--- a/gcell/apps/test_all.cc
+++ b/gcell/apps/test_all.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2007,2010 Free Software Foundation, Inc.
+ * Copyright 2007,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 ("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());