Make test3 fail on the first error.
test3 performs tests for null pointers but after that still continues and uses them. This results in segfault's. Fixing this issue by failing on the first error.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define ITERATIONS 10
|
||||
#define MAX_ERROR 3
|
||||
#define MAX_ERROR 0
|
||||
#define SIZE 64
|
||||
|
||||
int subtest;
|
||||
|
||||
Reference in New Issue
Block a user