From e8042274b1722e5a0a2b99bea31bafe191d936f1 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 13 Feb 2021 23:08:56 +1300 Subject: Add exit code to test runner on test failure --- test_runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_runner.c b/test_runner.c index 9d3ad65..7887118 100644 --- a/test_runner.c +++ b/test_runner.c @@ -17,5 +17,5 @@ int main(void) UnitySetTestFile(tests[i].file); UnityDefaultTestRun(tests[i].fn, tests[i].name, tests[i].line); } - UNITY_END(); + return UNITY_END(); } -- cgit v1.1