From: Stef Walter Date: Thu, 13 Jun 2013 15:39:44 +0000 (+0200) Subject: common: Abort test cases when one fails X-Git-Tag: 0.19.2~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e03e9950d78b58a91454b494513d1fc0872dcf2;p=p11-kit common: Abort test cases when one fails --- 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