aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/csmith/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/csmith/Makefile')
-rw-r--r--test/monniaux/csmith/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile
index c98baadd..7307d370 100644
--- a/test/monniaux/csmith/Makefile
+++ b/test/monniaux/csmith/Makefile
@@ -1,17 +1,18 @@
INCLUDES=-I/usr/include/csmith
TARGET_CCOMP=../../../ccomp
TARGET_CC=gcc
-#EXECUTE=kvx-cluster --
-all:
+ifndef EXECUTE
+EXECUTE=timeout 2s
+endif
-.SECONDARY:
+CFLAGS += -Wno-incompatible-pointer-types
ifndef CSMITH
CSMITH=csmith
endif
-MAX=300
+MAX=30
PREFIX=ran%06.f
CCOMPOTS=-static
@@ -38,7 +39,7 @@ tests_s: $(TESTS_CCOMP_TARGET_S)
$(TARGET_CCOMP) $(INCLUDES) $(CCOMPOPTS) $(CCOMPFLAGS) -S -o $@ $<
%.gcc.target.s : %.c
- $(TARGET_CC) $(INCLUDES) $(CCOMPOPTS) -S -o $@ $<
+ $(TARGET_CC) $(INCLUDES) $(CFLAGS) -S -o $@ $<
%.gcc.host.s : %.c
$(CC) $(INCLUDES) $(CFLAGS) -S -o $@ $<