Mercurial > hg > svcore
diff data/fileio/test/svcore-data-fileio-test.cpp @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | de385fed1197 48e9f538e6e9 |
children | 4700b7188f6c |
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp Tue Apr 17 10:03:51 2018 +0100 +++ b/data/fileio/test/svcore-data-fileio-test.cpp Tue Apr 17 10:35:42 2018 +0100 @@ -35,12 +35,12 @@ #endif if (argc > 1) { - cerr << "argc = " << argc << endl; + SVCERR << "argc = " << argc << endl; testDir = argv[1]; } if (testDir != "") { - cerr << "Setting test directory base path to \"" << testDir << "\"" << endl; + SVCERR << "Setting test directory base path to \"" << testDir << "\"" << endl; } QCoreApplication app(argc, argv); @@ -78,10 +78,10 @@ } if (bad > 0) { - cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; - return 1; + SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; + return 1; } else { - cerr << "All tests passed" << endl; - return 0; + SVCERR << "All tests passed" << endl; + return 0; } }