Cleaned up the testing a bit.
[fw/pdclib] / functions / _PDCLIB / assert.c
index ed56fc60727d61a4639a2f72e1509e16fb98ed2d..fbee63404eb97417ea59fcf0cb97cb6b34c04713 100644 (file)
@@ -45,7 +45,7 @@ static int UNEXPECTED_ABORT = 1;
 static void aborthandler( int sig )
 {
     TESTCASE( ! EXPECTED_ABORT );
-    exit( (signed int)rc );
+    exit( (signed int)TEST_RESULTS );
 }
 
 #define NDEBUG