aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/nsieve.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:04:43 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2017-08-26 10:04:43 +0200
commitf6cbce233ef89c30bbc8334c800e8a205677ec8b (patch)
tree5d71e539a0241c74c6cf99a1b9c99843411d04f8 /test/c/nsieve.c
parent4affb2b02e486681b39add0dbaf4f873a91885c8 (diff)
downloadcompcert-kvx-f6cbce233ef89c30bbc8334c800e8a205677ec8b.tar.gz
compcert-kvx-f6cbce233ef89c30bbc8334c800e8a205677ec8b.zip
Reduce the running times of the tests in test/c
Running times were too long when executed on low-end ARM or PowerPC hardware, or under QEMU emulation.
Diffstat (limited to 'test/c/nsieve.c')
-rw-r--r--test/c/nsieve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/c/nsieve.c b/test/c/nsieve.c
index 79e95024..819d47f1 100644
--- a/test/c/nsieve.c
+++ b/test/c/nsieve.c
@@ -26,7 +26,7 @@ static unsigned int nsieve(int m) {
return count;
}
-#define NITER 10
+#define NITER 2
int main(int argc, char * argv[]) {
int m = argc < 2 ? 9 : atoi(argv[1]);