comparison base/test/svcore-base-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 25ed6dde2ce0
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1427:622d193a00dc 1428:87ae75da6527
72 if (QTest::qExec(&t, argc, argv) == 0) ++good; 72 if (QTest::qExec(&t, argc, argv) == 0) ++good;
73 else ++bad; 73 else ++bad;
74 } 74 }
75 75
76 if (bad > 0) { 76 if (bad > 0) {
77 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; 77 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl;
78 return 1; 78 return 1;
79 } else { 79 } else {
80 cerr << "All tests passed" << endl; 80 SVCERR << "All tests passed" << endl;
81 return 0; 81 return 0;
82 } 82 }
83 } 83 }