diff options
author | Stef Walter <stef@thewalter.net> | 2013-06-13 17:39:44 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-06-13 17:39:44 +0200 |
commit | 9e03e9950d78b58a91454b494513d1fc0872dcf2 (patch) | |
tree | 4277b06213774a4f0d028f9778b34a5004777ea4 /common | |
parent | 125aa8b136fa950172c3946ca4768cf4750b697a (diff) |
common: Abort test cases when one fails
Diffstat (limited to 'common')
-rw-r--r-- | common/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/test.c b/common/test.c index 8866e48..122e78a 100644 --- a/common/test.c +++ b/common/test.c @@ -121,6 +121,8 @@ p11_test_fail (const char *filename, printf ("# in %s() at %s:%d\n", function, filename, line); free (output); + + longjmp (gl.jump, 1); } static void |