aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests2/Makefile')
-rw-r--r--tests/tests2/Makefile2
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