From 9e03e9950d78b58a91454b494513d1fc0872dcf2 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 13 Jun 2013 17:39:44 +0200 Subject: common: Abort test cases when one fails --- common/test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') 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 -- cgit v1.1