Mercurial > hg > svcore
comparison data/model/test/svcore-data-model-test.cpp @ 1476:5afbac960a30 plugin-path-config
Environment var tests (beginnings of)
author | Chris Cannam |
---|---|
date | Thu, 07 Jun 2018 16:18:42 +0100 |
parents | 48e9f538e6e9 |
children | a7485c1bdba5 |
comparison
equal
deleted
inserted
replaced
1475:bd1a2cacd1e7 | 1476:5afbac960a30 |
---|---|
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 SVCERR << "\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 SVCERR << "All tests passed" << endl; | 40 SVCERR << "All tests passed" << endl; |
41 return 0; | 41 return 0; |
42 } | 42 } |
43 } | 43 } |
44 | 44 |