Merge pull request #953 from keyboardio/tests/exit-with-results

testing: Do not ignore the return value of RUN_ALL_TESTS
pull/957/head
Jesse Vincent 4 years ago committed by GitHub
commit 50698376ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,6 @@
/* Turn off virtual_io's input. */ \
Kaleidoscope.device().keyScanner().setEnableReadMatrix(false); \
testing::InitGoogleTest(); \
/* We assign the return value of RUN_ALL_TESTS, to */ \
/* silence a compiler warning. */ \
int __ignore__ = RUN_ALL_TESTS(); \
int result = RUN_ALL_TESTS(); \
exit(result); \
}

Loading…
Cancel
Save