Mercurial > hg > svcore
diff data/fileio/test/svcore-data-fileio-test.cpp @ 1428:87ae75da6527
Convert some cerrs to SVCERRs. Apart from anything else, this makes MSVC2017 happy
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 14:43:40 +0000 |
parents | 667e369cfeab |
children | 48e9f538e6e9 |
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp Mon Dec 11 09:28:40 2017 +0000 +++ b/data/fileio/test/svcore-data-fileio-test.cpp Thu Mar 01 14:43:40 2018 +0000 @@ -34,12 +34,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); @@ -71,10 +71,10 @@ } if (bad > 0) { - cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; + SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; return 1; } else { - cerr << "All tests passed" << endl; + SVCERR << "All tests passed" << endl; return 0; } }