comparison base/test/main.cpp @ 906:654990320867

Merge from 899:bc0ff66102a8
author Chris Cannam
date Wed, 07 May 2014 15:17:51 +0100
parents 451f7f3ab6e7
children ee9f4477f65b
comparison
equal deleted inserted replaced
905:1f94f3776158 906:654990320867
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 {