diff options
| author | Michael Matz <matz@suse.de> | 2016-12-20 04:49:22 +0100 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-20 04:58:34 +0100 |
| commit | 42e2a67f23448dc1ff6a23da650176ebad6e1681 (patch) | |
| tree | 0f9438aa59ea42235156eee0a69bb0db9ac29745 /tests/tests2/Makefile | |
| parent | 559ee1e940c22a49ac8a39f6053917533e71243a (diff) | |
| download | tinycc-42e2a67f23448dc1ff6a23da650176ebad6e1681.tar.gz tinycc-42e2a67f23448dc1ff6a23da650176ebad6e1681.tar.bz2 | |
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.
Diffstat (limited to 'tests/tests2/Makefile')
| -rw-r--r-- | tests/tests2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
