comparison base/test/main.cpp @ 894:1341cc1390be tony_integration

Merge from default branch
author Chris Cannam
date Mon, 31 Mar 2014 13:00:17 +0100
parents 451f7f3ab6e7
children ee9f4477f65b
comparison
equal deleted inserted replaced
891:8962f80f5d8e 894:1341cc1390be
10 License, or (at your option) any later version. See the file 10 License, or (at your option) any later version. See the file
11 COPYING included with this distribution for more information. 11 COPYING included with this distribution for more information.
12 */ 12 */
13 13
14 #include "TestRangeMapper.h" 14 #include "TestRangeMapper.h"
15 #include "TestPitch.h"
15 16
16 #include <QtTest> 17 #include <QtTest>
17 18
18 #include <iostream> 19 #include <iostream>
19 20
28 { 29 {
29 TestRangeMapper t; 30 TestRangeMapper t;
30 if (QTest::qExec(&t, argc, argv) == 0) ++good; 31 if (QTest::qExec(&t, argc, argv) == 0) ++good;
31 else ++bad; 32 else ++bad;
32 } 33 }
34 {
35 TestPitch t;
36 if (QTest::qExec(&t, argc, argv) == 0) ++good;
37 else ++bad;
38 }
33 39
34 if (bad > 0) { 40 if (bad > 0) {
35 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; 41 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
36 return 1; 42 return 1;
37 } else { 43 } else {