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

Loading…
Cancel
Save