fate: Skip the checkasm test if CONFIG_STATIC is disabled
authorMartin Storsjö <martin@martin.st>
Fri, 30 Dec 2016 19:45:51 +0000 (21:45 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 9 Jan 2017 11:57:02 +0000 (13:57 +0200)
When building DLLs with MSVC, CONFIG_STATIC is disabled (see
d66c52c2b3694 for a more verbose explanation) since the built
object files can't be linked statically (which checkasm does).

This worked up until recently, only by luck.

Signed-off-by: Martin Storsjö <martin@martin.st>
tests/fate/checkasm.mak

index 939eb56..5721f1f 100644 (file)
@@ -19,5 +19,5 @@ $(FATE_CHECKASM): tests/checkasm/checkasm$(EXESUF)
 $(FATE_CHECKASM): CMD = run tests/checkasm/checkasm --test=$(@:fate-checkasm-%=%)
 $(FATE_CHECKASM): REF = /dev/null
 
-FATE += $(FATE_CHECKASM)
+FATE-$(CONFIG_STATIC) += $(FATE_CHECKASM)
 fate-checkasm: $(FATE_CHECKASM)