From be080bb495d9912a78a71a3b17c2ee9208a3ca1e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Oct 2019 00:31:36 +0200 Subject: Only disable tests for MSVC debug builds --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wscript') 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() -- cgit v1.2.1