summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-05 11:02:29 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-05 11:02:29 -0500
commit6952438ad1ef40132f8c00aa850fa558fe2202c1 (patch)
treec78b5ba20ec11abc630947b491fa4a19da6e9e6f
parent0c717a13ccfdc8148337ccf5634720e1b77728e5 (diff)
downloadlibsandglass-6952438ad1ef40132f8c00aa850fa558fe2202c1.tar.xz
tests/noprecache: Actually fail if i != 1.
-rw-r--r--tests/noprecache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/noprecache.c b/tests/noprecache.c
index 7e3bb27..937b0a1 100644
--- a/tests/noprecache.c
+++ b/tests/noprecache.c
@@ -46,6 +46,7 @@ main()
if (i != 1) {
fprintf(stderr,
"sandglass_bench_noprecache() evaluated routine %d times!\n", i);
+ return EXIT_FAILURE;
}
printf("%.15g\n", sandglass.grains/sandglass.freq);