# HG changeset patch # User Chris Cannam # Date 1483717495 0 # Node ID e4bd2a532ced257e1c7403f49f75374efd071b3f # Parent 48e7d1ab05f2041de357cd693a3e13a23237f465 More work on getting tests (especially file encoding ones) running on Windows. Various problems here to do with interaction with test filenames in Hg repos diff -r 48e7d1ab05f2 -r e4bd2a532ced .hgsubstate --- a/.hgsubstate Fri Jan 06 12:11:08 2017 +0000 +++ b/.hgsubstate Fri Jan 06 15:44:55 2017 +0000 @@ -8,6 +8,6 @@ 3257ddb6fff110cc88f3ffeaeefa0f29d5eb3b6f piper-cpp af97cad61ff0a443cdf4a33a4ac867431dadaaae sv-dependency-builds 1a8a8980f39a8e735c90837a4c2260248aafe7f1 svapp -c0cdacc47f4e1ed71cc45e99dfeaf2a866be81a5 svcore +75ad55315db4ec0fc52534a4ce1ed927550233a7 svcore be42a33a3db6c11559166b65c30bcd7248a46c9f svgui 0eebd22a081a824067bf3d5de65326696feab653 vamp-plugin-sdk diff -r 48e7d1ab05f2 -r e4bd2a532ced sonic-visualiser.pro --- a/sonic-visualiser.pro Fri Jan 06 12:11:08 2017 +0000 +++ b/sonic-visualiser.pro Fri Jan 06 15:44:55 2017 +0000 @@ -1,15 +1,14 @@ TEMPLATE = subdirs -!win* { - # We should build and run the tests on any platform, - # but doing it automatically doesn't work so well from - # within an IDE on Windows, so remove that from here - SUBDIRS += \ - sub_test_svcore_base \ +# We build the tests on every platform, though at the time of +# writing they are only automatically run on non-Windows platforms +# (because of the difficulty of getting them running nicely in the +# IDE without causing great confusion if a test fails). +SUBDIRS += \ + sub_test_svcore_base \ sub_test_svcore_data_fileio \ sub_test_svcore_data_model -} SUBDIRS += \ checker \ diff -r 48e7d1ab05f2 -r e4bd2a532ced test-svcore-base.pro --- a/test-svcore-base.pro Fri Jan 06 12:11:08 2017 +0000 +++ b/test-svcore-base.pro Fri Jan 06 15:44:55 2017 +0000 @@ -28,4 +28,6 @@ for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/base/test/%1", $$file) } for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/base/test/%1", $$file) } -QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT} +!win32* { + QMAKE_POST_LINK = ./$${TARGET} +} diff -r 48e7d1ab05f2 -r e4bd2a532ced test-svcore-data-fileio.pro --- a/test-svcore-data-fileio.pro Fri Jan 06 12:11:08 2017 +0000 +++ b/test-svcore-data-fileio.pro Fri Jan 06 15:44:55 2017 +0000 @@ -28,4 +28,6 @@ for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/fileio/test/%1", $$file) } for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/fileio/test/%1", $$file) } -QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT} +!win32* { + QMAKE_POST_LINK = ./$${TARGET} +} diff -r 48e7d1ab05f2 -r e4bd2a532ced test-svcore-data-model.pro --- a/test-svcore-data-model.pro Fri Jan 06 12:11:08 2017 +0000 +++ b/test-svcore-data-model.pro Fri Jan 06 15:44:55 2017 +0000 @@ -28,4 +28,6 @@ for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/model/test/%1", $$file) } for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/model/test/%1", $$file) } -QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT} +!win32* { + QMAKE_POST_LINK = ./$${TARGET} +}