@@ -81,18 +81,19 @@ option(WarpX_QED_TABLE_GEN "QED table generation (requires PICSAR and Boost)"
81
81
option (WarpX_QED_TOOLS "Build external tool to generate QED lookup tables (requires PICSAR and Boost)"
82
82
OFF )
83
83
84
- # Advanced option to automatically clean up CI test directories
85
- option (WarpX_TEST_CLEANUP "Clean up CI test directories" OFF )
84
+ # Advanced option to run tests
85
+ option (WarpX_TEST_CLEANUP "Clean up automated test directories" OFF )
86
+ option (WarpX_TEST_DEBUGGER "Run automated tests without AMReX signal handling (to attach debuggers)" OFF )
87
+ option (WarpX_TEST_FPETRAP "Run automated tests with FPE-trapping runtime parameters" OFF )
86
88
mark_as_advanced (WarpX_TEST_CLEANUP)
87
-
88
- # Advanced option to run CI tests with FPE-trapping runtime parameters
89
- option (WarpX_TEST_FPETRAP "Run CI tests with FPE-trapping runtime parameters" OFF )
89
+ mark_as_advanced (WarpX_TEST_DEBUGGER)
90
90
mark_as_advanced (WarpX_TEST_FPETRAP)
91
91
92
- # Advanced option to run CI tests with the -g compile option
93
- option (WarpX_TEST_DEBUG "Run CI tests with the -g compile option" OFF )
94
- mark_as_advanced (WarpX_TEST_DEBUG)
95
- if (WarpX_TEST_DEBUG)
92
+ # Advanced option to compile with the -g1 option for minimal debug symbols
93
+ # (useful to see, e.g., line numbers in backtraces)
94
+ option (WarpX_BACKTRACE_INFO "Compile with -g1 for minimal debug symbols (currently used in CI tests)" OFF )
95
+ mark_as_advanced (WarpX_BACKTRACE_INFO)
96
+ if (WarpX_BACKTRACE_INFO)
96
97
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g1" )
97
98
endif ()
98
99
0 commit comments