From b5ea883eecdeb7f6dba4ae07a322a8f534d358df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 23 Oct 2019 00:24:23 +0200 Subject: Don't run tests for debug MSVC builds --- wscript | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 140f94c..3b75e0a 100644 --- a/wscript +++ b/wscript @@ -135,6 +135,13 @@ def build(bld): bld.add_post_fun(autowaf.run_ldconfig) def test(tst): + import sys + + 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 + tst(['./sratom_test']) def lint(ctx): -- cgit v1.2.1