diff options
author | Eugene Sandulenko | 2016-12-28 00:08:33 +0100 |
---|---|---|
committer | GitHub | 2016-12-28 00:08:33 +0100 |
commit | 48ea5cb459f333d19b53f22001814b7203aa4bd1 (patch) | |
tree | ceebcec01d38c0c4e5bd97fdb0ea199960c0766b | |
parent | a113a81e7cbe614dc0bfeb13cabd201f9049dd28 (diff) | |
parent | 6687d9c1ab6b08237322e3bc48eb22efb018d01b (diff) | |
download | scummvm-rg350-48ea5cb459f333d19b53f22001814b7203aa4bd1.tar.gz scummvm-rg350-48ea5cb459f333d19b53f22001814b7203aa4bd1.tar.bz2 scummvm-rg350-48ea5cb459f333d19b53f22001814b7203aa4bd1.zip |
Merge pull request #876 from csnover/fix-test
TEST: Only build Wintermute tests when that engine is enabled
-rw-r--r-- | test/module.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/module.mk b/test/module.mk index da469b4263..04e7deeacd 100644 --- a/test/module.mk +++ b/test/module.mk @@ -5,8 +5,13 @@ # ###################################################################### -TESTS := $(srcdir)/test/common/*.h $(srcdir)/test/audio/*.h $(srcdir)/test/engines/wintermute/*.h -TEST_LIBS := audio/libaudio.a common/libcommon.a engines/wintermute/libwintermute.a +TESTS := $(srcdir)/test/common/*.h $(srcdir)/test/audio/*.h +TEST_LIBS := audio/libaudio.a common/libcommon.a + +ifdef ENABLE_WINTERMUTE + TESTS += $(srcdir)/test/engines/wintermute/*.h + TEST_LIBS += engines/wintermute/libwintermute.a +endif # TEST_FLAGS := --runner=StdioPrinter --no-std --no-eh --include=$(srcdir)/test/cxxtest_mingw.h |