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.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user