changeset 1852:df146330bc34 plugin-path-config

System library test program (beginnings of)
author Chris Cannam
date Thu, 07 Jun 2018 16:26:38 +0100
parents 23357d224416
children 382dd47984bd
files deploy/win64/build-32.bat deploy/win64/build-64.bat repoint-lock.json sonic-visualiser.pro test-svcore-system.pro
diffstat 5 files changed, 48 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win64/build-32.bat	Thu Jun 07 15:35:37 2018 +0100
+++ b/deploy/win64/build-32.bat	Thu Jun 07 16:26:38 2018 +0100
@@ -37,10 +37,16 @@
 copy %QTDIR%\bin\Qt5Network.dll .\release
 copy %QTDIR%\bin\Qt5Xml.dll .\release
 copy %QTDIR%\bin\Qt5Svg.dll .\release
+copy %QTDIR%\bin\Qt5Test.dll .\release
 copy %QTDIR%\bin\libgcc_s_dw2-1.dll .\release
 copy %QTDIR%\bin\"libstdc++-6.dll" .\release
 copy %QTDIR%\bin\libwinpthread-1.dll .\release
 copy %QTDIR%\plugins\platforms\qminimal.dll .\release
 copy %QTDIR%\plugins\platforms\qwindows.dll .\release
 
+.\release\test-svcore-base
+.\release\test-svcore-system
+.\release\test-svcore-data-fileio
+.\release\test-svcore-data-model
+
 set PATH=%ORIGINALPATH%
--- a/deploy/win64/build-64.bat	Thu Jun 07 15:35:37 2018 +0100
+++ b/deploy/win64/build-64.bat	Thu Jun 07 16:26:38 2018 +0100
@@ -46,8 +46,14 @@
 copy %QTDIR%\bin\Qt5Network.dll .\release
 copy %QTDIR%\bin\Qt5Xml.dll .\release
 copy %QTDIR%\bin\Qt5Svg.dll .\release
+copy %QTDIR%\bin\Qt5Test.dll .\release
 copy %QTDIR%\plugins\platforms\qminimal.dll .\release
 copy %QTDIR%\plugins\platforms\qwindows.dll .\release
 copy ..\sv-dependency-builds\win64-msvc\lib\libsndfile-1.dll .\release
 
+.\release\test-svcore-base
+.\release\test-svcore-system
+.\release\test-svcore-data-fileio
+.\release\test-svcore-data-model
+
 set PATH=%ORIGINALPATH%
--- a/repoint-lock.json	Thu Jun 07 15:35:37 2018 +0100
+++ b/repoint-lock.json	Thu Jun 07 16:26:38 2018 +0100
@@ -4,7 +4,7 @@
       "pin": "328cb056da44"
     },
     "svcore": {
-      "pin": "bd1a2cacd1e7"
+      "pin": "5afbac960a30"
     },
     "svgui": {
       "pin": "11888b7e193d"
--- a/sonic-visualiser.pro	Thu Jun 07 15:35:37 2018 +0100
+++ b/sonic-visualiser.pro	Thu Jun 07 16:26:38 2018 +0100
@@ -10,6 +10,7 @@
 # IDE without causing great confusion if a test fails).
 SUBDIRS += \
         sub_test_svcore_base \
+        sub_test_svcore_system \
         sub_test_svcore_data_fileio \
         sub_test_svcore_data_model
 
@@ -22,6 +23,7 @@
 sub_base.file = base.pro
         
 sub_test_svcore_base.file = test-svcore-base.pro
+sub_test_svcore_system.file = test-svcore-system.pro
 sub_test_svcore_data_fileio.file = test-svcore-data-fileio.pro
 sub_test_svcore_data_model.file = test-svcore-data-model.pro
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-svcore-system.pro	Thu Jun 07 16:26:38 2018 +0100
@@ -0,0 +1,33 @@
+
+TEMPLATE = app
+
+exists(config.pri) {
+    include(config.pri)
+}
+
+!exists(config.pri) {
+    include(noconfig.pri)
+}
+
+include(base.pri)
+
+CONFIG += console
+QT += network xml testlib
+QT -= gui
+
+win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
+macx*: CONFIG -= app_bundle
+
+TARGET = test-svcore-system
+
+OBJECTS_DIR = o
+MOC_DIR = o
+
+include(svcore/system/test/files.pri)
+
+for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/system/test/%1", $$file) }
+for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/system/test/%1", $$file) }
+
+!win32* {
+    QMAKE_POST_LINK = ./$${TARGET}
+}