aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/monniaux/csmith/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile
index aa4eccab..e6475fa2 100644
--- a/test/monniaux/csmith/Makefile
+++ b/test/monniaux/csmith/Makefile
@@ -1,9 +1,13 @@
+all:
+
+.SECONDARY:
+
INCLUDES=-I csmith/include/csmith-2.3.0/
TARGET_CCOMP=../../../ccomp
-TARGET_CC=gcc
+TARGET_CC=kvx-cos-gcc
ifndef EXECUTE
-EXECUTE=timeout 2s
+EXECUTE=timeout 10s kvx-cluster --
endif
CFLAGS += -Wno-incompatible-pointer-types
@@ -11,8 +15,9 @@ CFLAGS += -Wno-incompatible-pointer-types
ifndef CSMITH
CSMITH=csmith/bin/csmith
endif
+CSMITHOPT=--max-funcs 10
-MAX=300
+MAX=10000
PREFIX=ran%06.f
CCOMPOTS=-static
@@ -69,7 +74,7 @@ ran%/example.gcc.host: ran%/source.gcc.host.o
ran%/source.c:
mkdir -p ran$*
- $(CSMITH) --seed $* --output ran$*/source.c
+ $(CSMITH) $(CSMITHOPT) --seed $* --output ran$*/source.c
ran%/example.target.cmp : ran%/example.gcc.target.out ran%/example.ccomp.target.out
cmp $+ > $@