summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-23 00:31:36 +0200
committerDavid Robillard <d@drobilla.net>2019-10-23 00:31:36 +0200
commitbe080bb495d9912a78a71a3b17c2ee9208a3ca1e (patch)
treeef4896c8f46bea273e043f10bb11b4761e07a16a
parent9c11543af6f8e20cfa8dd9f29dd3fc313843ec28 (diff)
downloadsord-be080bb495d9912a78a71a3b17c2ee9208a3ca1e.tar.gz
sord-be080bb495d9912a78a71a3b17c2ee9208a3ca1e.tar.bz2
sord-be080bb495d9912a78a71a3b17c2ee9208a3ca1e.zip
Only disable tests for MSVC debug builds
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 2c33836..3234ade 100644
--- a/wscript
+++ b/wscript
@@ -269,8 +269,9 @@ def test(tst):
except:
pass
- if sys.platform == 'win32':
- Logs.warn('Tests disabled on Windows')
+ if sys.platform == 'win32' and '/DNDEBUG' not in tst.env.CFLAGS:
+ # FIXME: Sort out DLL memory freeing situation in next major version
+ Logs.warn("Skipping tests for Windows debug build")
return
srcdir = tst.path.abspath()