From 42e2a67f23448dc1ff6a23da650176ebad6e1681 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 20 Dec 2016 04:49:22 +0100 Subject: Fix some code suppression fallout Some more subtle issues with code suppression: - outputting asms but not their operand setup is broken - but global asms must always be output - statement expressions are transparent to code suppression - vtop can't be transformed from VT_CMP/VT_JMP when nocode_wanted Also remove .exe files from tests2 if they don't fail. --- tests/tests2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests2/Makefile') diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index ababb43..b52b54a 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -59,7 +59,7 @@ all test: $(filter-out $(SKIP),$(TESTS)) $(TCC) $< -o ./$*.exe $(FILTER) 2>&1 && \ ./$*.exe $(ARGS) >$*.output 2>&1 || true; \ fi - @diff -Nbu $(SRC)/$*.expect $*.output && rm -f $*.output + @diff -Nbu $(SRC)/$*.expect $*.output && rm -f $*.output $*.exe # automatically generate .expect files with gcc: %.expect : %.c -- cgit v1.3.1