Mercurial > hg > svcore
comparison data/model/test/svcore-data-model-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 |
comparison
equal
deleted
inserted
replaced
1427:622d193a00dc | 1428:87ae75da6527 |
---|---|
32 if (QTest::qExec(&t, argc, argv) == 0) ++good; | 32 if (QTest::qExec(&t, argc, argv) == 0) ++good; |
33 else ++bad; | 33 else ++bad; |
34 } | 34 } |
35 | 35 |
36 if (bad > 0) { | 36 if (bad > 0) { |
37 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; | 37 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; |
38 return 1; | 38 return 1; |
39 } else { | 39 } else { |
40 cerr << "All tests passed" << endl; | 40 SVCERR << "All tests passed" << endl; |
41 return 0; | 41 return 0; |
42 } | 42 } |
43 } | 43 } |
44 | 44 |