aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/Makefile')
-rw-r--r--test/c/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/c/Makefile b/test/c/Makefile
index 2b9f4b73..5fd3f557 100644
--- a/test/c/Makefile
+++ b/test/c/Makefile
@@ -13,7 +13,9 @@ TIME=xtime -o /dev/null -mintime 1.0 # Xavier's hack
PROGS=fib integr qsort fft sha1 aes almabench lists \
binarytrees fannkuch knucleotide mandelbrot nbody \
nsieve nsievebits spectral vmach \
- bisect chomp perlin
+ bisect chomp perlin floats
+
+PROGS_INTERP=floats
all_s: $(PROGS:%=%.s)
@@ -37,6 +39,12 @@ test:
else echo "$$i: FAILED"; \
fi; \
done
+ @for i in $(PROGS_INTERP); do \
+ if $(CCOMP) -interp -quiet $$i.c | cmp -s - Results/$$i; \
+ then echo "$$i (interpreted): passed"; \
+ else echo "$$i (interpreted): FAILED"; \
+ fi; \
+ done
test_gcc:
@for i in $(PROGS); do \