aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/Makefile
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-09-20 16:20:11 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-09-20 16:20:11 +0200
commit71cec9c9126ee4385ce12fd29dec557995d5a903 (patch)
tree26e86fc9b15680721baea86d5294ee9faaf2508c /test/c/Makefile
parent1801685f8352b7a120d87d5b529d290728129529 (diff)
parente1725209b2b4401adc63ce5238fa5db7c134609c (diff)
downloadcompcert-kvx-71cec9c9126ee4385ce12fd29dec557995d5a903.tar.gz
compcert-kvx-71cec9c9126ee4385ce12fd29dec557995d5a903.zip
Merge tag 'v3.6' of https://github.com/AbsInt/CompCert into mppa-work-upstream-merge
Diffstat (limited to 'test/c/Makefile')
-rw-r--r--test/c/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/c/Makefile b/test/c/Makefile
index 7aee6c4f..72054179 100644
--- a/test/c/Makefile
+++ b/test/c/Makefile
@@ -8,8 +8,7 @@ EXECUTE:=timeout --signal=SIGTERM 20s $(EXECUTE)
LIBS=$(LIBMATH)
-#TIME=xtime -o /dev/null -mintime 2.0 # Xavier's hack
-TIME=time >/dev/null # Otherwise
+TIME=ocaml unix.cma ../../tools/xtime.ml -o /dev/null -mintime 2.0 -minruns 4
PROGS?=fib integr qsort fft fftsp fftw sha1 sha3 aes almabench \
lists binarytrees fannkuch mandelbrot nbody \
@@ -60,12 +59,12 @@ test_gcc: all_gcc
bench_gcc: all_gcc
@for i in $(PROGS); do \
- echo -n "$$i: "; $(TIME) ./$$i.gcc; \
+ $(TIME) -name $$i -- ./$$i.gcc; \
done
bench: all
@for i in $(PROGS); do \
- echo -n "$$i: "; $(TIME) ./$$i.compcert; \
+ $(TIME) -name $$i -- ./$$i.compcert; \
done
clean: