diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-05 11:02:29 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-05 11:02:29 -0500 |
commit | 6952438ad1ef40132f8c00aa850fa558fe2202c1 (patch) | |
tree | c78b5ba20ec11abc630947b491fa4a19da6e9e6f /tests | |
parent | 0c717a13ccfdc8148337ccf5634720e1b77728e5 (diff) | |
download | libsandglass-6952438ad1ef40132f8c00aa850fa558fe2202c1.tar.xz |
tests/noprecache: Actually fail if i != 1.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/noprecache.c | 1 |
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); |