# HG changeset patch # User Chris Cannam # Date 1528385198 -3600 # Node ID df146330bc34d1d8f2fbf7944f259f971763f4dc # Parent 23357d224416277a3f2caeaf1cbb457b456f0e6e System library test program (beginnings of) diff -r 23357d224416 -r df146330bc34 deploy/win64/build-32.bat --- 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% diff -r 23357d224416 -r df146330bc34 deploy/win64/build-64.bat --- 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% diff -r 23357d224416 -r df146330bc34 repoint-lock.json --- 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" diff -r 23357d224416 -r df146330bc34 sonic-visualiser.pro --- 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 diff -r 23357d224416 -r df146330bc34 test-svcore-system.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} +}