aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/coverage/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/coverage/main.c')
-rw-r--r--test/rt/coverage/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/rt/coverage/main.c b/test/rt/coverage/main.c
index f1ed0b739..51e253a4b 100644
--- a/test/rt/coverage/main.c
+++ b/test/rt/coverage/main.c
@@ -27,7 +27,6 @@
* Simulator main.
*/
int main(int argc, char *argv[]) {
- msg_t result;
(void)argc;
(void)argv;
@@ -43,8 +42,8 @@ int main(int argc, char *argv[]) {
conInit();
chSysInit();
- result = TestThread(&CD1);
- if (result)
+ TestThread(&CD1);
+ if (test_global_fail)
exit(1);
else
exit(0);