diff options
Diffstat (limited to 'test/regression/Makefile')
-rw-r--r-- | test/regression/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regression/Makefile b/test/regression/Makefile index e9d0318..186bddd 100644 --- a/test/regression/Makefile +++ b/test/regression/Makefile @@ -44,4 +44,16 @@ test: fi; \ done +interp: + @for i in $(TESTS); do \ + if $(CCOMP) -fall -interp 2>/dev/null $$i.c > _cinterp.log; then \ + if cmp -s _cinterp.log Results/$$i; \ + then echo "$$i: interpreter passed"; \ + else echo "$$i: interpreter FAILED"; \ + fi; \ + else \ + echo "$$i: interpreter undefined behavior"; \ + fi; \ + done + bench: |