You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests: Add a CMake option to disable the main catch all exceptions (#2076)
- Add a CMake option to control the behavior of the main.cxx catch all exceptions
- Use it in CI
- Coverage reduction is expected and I believe a good idea to unsure this part of the code *is not* covered.
Copy file name to clipboardexpand all lines: CMakeLists.txt
+1
Original file line number
Diff line number
Diff line change
@@ -202,6 +202,7 @@ cmake_dependent_option(F3D_TESTING_ENABLE_LONG_TIMEOUT_TESTS "Enable long timeou
202
202
cmake_dependent_option(F3D_TESTING_ENABLE_GLX_TESTS "Enable tests that require a X server running on Linux"ON"F3D_TESTING_ENABLE_RENDERING_TESTS AND UNIX AND NOT APPLE"OFF)
203
203
cmake_dependent_option(F3D_TESTING_ENABLE_EGL_TESTS "Enable tests that require EGL to run"ON"F3D_TESTING_ENABLE_RENDERING_TESTS AND UNIX AND NOT APPLE"OFF)
204
204
cmake_dependent_option(F3D_TESTING_ENABLE_OSMESA_TESTS "Enable tests that require OSMESA to run"ON"F3D_TESTING_ENABLE_RENDERING_TESTS AND UNIX AND NOT APPLE"OFF)
205
+
cmake_dependent_option(F3D_TESTING_DISABLE_CATCH_ALL "Disable the catch all exception code in main for improved testing"OFF"BUILD_TESTING"OFF)
0 commit comments