summaryrefslogtreecommitdiff
path: root/tests/Test_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Test_parser.c')
-rw-r--r--tests/Test_parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Test_parser.c b/tests/Test_parser.c
index 7a0688e..95fbbbf 100644
--- a/tests/Test_parser.c
+++ b/tests/Test_parser.c
@@ -197,6 +197,9 @@ main(int argc,char *argv[])
printf("Total tests : %d\n",testCounter);
printf("Total errors: %d\n",errorCounter);
+ if(errorCounter > 0)
+ return 1;
+
exit(0);
}