diff options
author | David Phillips <david@yeah.nah.nz> | 2021-02-13 23:08:56 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2021-02-13 23:08:56 +1300 |
commit | e8042274b1722e5a0a2b99bea31bafe191d936f1 (patch) | |
tree | d5f816e14fd0b894c68adacdf5686e484e20f757 | |
parent | 3894247548838e66062617956c6e90d306d5ccec (diff) | |
download | altimeter-e8042274b1722e5a0a2b99bea31bafe191d936f1.tar.xz |
Add exit code to test runner on test failure
-rw-r--r-- | test_runner.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |