From fd6f8114d91f1649e467571b39adcb0b8fa2f92e Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 18 Sep 2021 10:18:34 +0200 Subject: reduce number of csmith tests --- test/monniaux/csmith/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile index f4b0d68a..30107695 100644 --- a/test/monniaux/csmith/Makefile +++ b/test/monniaux/csmith/Makefile @@ -20,7 +20,7 @@ CSMITH=csmith/bin/csmith endif CSMITHOPT=--max-funcs 10 -MAX=10000 +MAX=5000 PREFIX=ran%06.f CCOMPOTS=-static -- cgit From 68995e0afca237658728b2c82fff04133a5aae72 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Sat, 18 Sep 2021 12:47:14 +0200 Subject: fix for x86-64 --- test/monniaux/csmith/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile index 30107695..ab7931f1 100644 --- a/test/monniaux/csmith/Makefile +++ b/test/monniaux/csmith/Makefile @@ -6,7 +6,7 @@ INCLUDES=-I csmith/include/csmith-2.3.0/ TARGET_CCOMP=../../../ccomp ifndef TARGET_CC -TARGET_CC=kvx-cos-gcc +TARGET_CC=gcc endif ifndef EXECUTE -- cgit From 4a17125ee3f6766710e6e6e47d551cf0cf29cb47 Mon Sep 17 00:00:00 2001 From: Léo Gourdin Date: Sun, 19 Sep 2021 11:41:43 +0200 Subject: fix issue 244 --- test/gourdinl/builtin_memcpy.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/gourdinl/builtin_memcpy.c (limited to 'test') diff --git a/test/gourdinl/builtin_memcpy.c b/test/gourdinl/builtin_memcpy.c new file mode 100644 index 00000000..421f543c --- /dev/null +++ b/test/gourdinl/builtin_memcpy.c @@ -0,0 +1,9 @@ +struct a b; +struct a { + short; + int; + short; +} c() { + struct a d[2][16]; + b = d[1][7]; +} -- cgit From 81eadac7dfaa7fb05f11d45042b74e95e1a14a09 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 20 Sep 2021 13:29:24 +0200 Subject: do 500 of them --- test/monniaux/csmith/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile index ab7931f1..78664c4b 100644 --- a/test/monniaux/csmith/Makefile +++ b/test/monniaux/csmith/Makefile @@ -20,7 +20,7 @@ CSMITH=csmith/bin/csmith endif CSMITHOPT=--max-funcs 10 -MAX=5000 +MAX=500 PREFIX=ran%06.f CCOMPOTS=-static -- cgit From ea881bf4002c6a2ee5cafff393ee0c8939d50835 Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Mon, 20 Sep 2021 14:45:49 +0200 Subject: separate wget/curl --- test/monniaux/csmith/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile index ab7931f1..274b3b84 100644 --- a/test/monniaux/csmith/Makefile +++ b/test/monniaux/csmith/Makefile @@ -90,7 +90,9 @@ ran%/example.host_target.cmp : ran%/example.gcc.host.out ran%/example.ccomp.targ clean: -rm -rf ran* -csmith/bin/csmith: - curl -L -o csmith-2.3.0.tar.gz https://embed.cs.utah.edu/csmith/csmith-2.3.0.tar.gz +csmith-2.3.0.tar.gz: + curl -L -O $@ https://embed.cs.utah.edu/csmith/csmith-2.3.0.tar.gz + +csmith/bin/csmith: csmith-2.3.0.tar.gz tar xfz csmith-2.3.0.tar.gz WD=`pwd` && cd csmith-2.3.0 && ./configure --prefix=$$WD/csmith && make install -- cgit