aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-02-13 23:08:56 +1300
committerDavid Phillips <david@yeah.nah.nz>2021-02-13 23:08:56 +1300
commite8042274b1722e5a0a2b99bea31bafe191d936f1 (patch)
treed5f816e14fd0b894c68adacdf5686e484e20f757
parent3894247548838e66062617956c6e90d306d5ccec (diff)
downloadaltimeter-e8042274b1722e5a0a2b99bea31bafe191d936f1.tar.xz
Add exit code to test runner on test failure
-rw-r--r--test_runner.c2
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();
}