diff --git a/testing/setup-googletest.h b/testing/setup-googletest.h index 36dbeede..38852dbe 100644 --- a/testing/setup-googletest.h +++ b/testing/setup-googletest.h @@ -36,5 +36,7 @@ /* Turn off virtual_io's input. */ \ Kaleidoscope.device().keyScanner().setEnableReadMatrix(false); \ testing::InitGoogleTest(); \ - RUN_ALL_TESTS(); \ + /* We assign the return value of RUN_ALL_TESTS, to */ \ + /* silence a compiler warning. */ \ + int __ignore__ = RUN_ALL_TESTS(); \ }