diff data/model/test/svcore-data-model-test.cpp @ 1713:978c143c767f

Merge from branch single-point
author Chris Cannam
date Fri, 17 May 2019 10:02:43 +0100
parents 560453546749
children
line wrap: on
line diff
--- a/data/model/test/svcore-data-model-test.cpp	Thu May 16 12:54:58 2019 +0100
+++ b/data/model/test/svcore-data-model-test.cpp	Fri May 17 10:02:43 2019 +0100
@@ -14,6 +14,7 @@
 #include "TestFFTModel.h"
 #include "TestZoomConstraints.h"
 #include "TestWaveformOversampler.h"
+#include "TestSparseModels.h"
 
 #include "system/Init.h"
 
@@ -31,7 +32,7 @@
 
     QCoreApplication app(argc, argv);
     app.setOrganizationName("sonic-visualiser");
-    app.setApplicationName("test-model");
+    app.setApplicationName("test-svcore-data-model");
 
     {
         TestFFTModel t;
@@ -51,6 +52,12 @@
         else ++bad;
     }
 
+    {
+        TestSparseModels t;
+        if (QTest::qExec(&t, argc, argv) == 0) ++good;
+        else ++bad;
+    }
+
     if (bad > 0) {
         SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl;
         return 1;