Skip to content
Snippets Groups Projects
Commit 5b843f2d authored by Ben Boeckel's avatar Ben Boeckel
Browse files

tests/abi_tests: only expect `.debug_info_seg` in Debug builds

parent 0d0b45ce
No related branches found
No related tags found
1 merge request!119Ci default release
......@@ -31,6 +31,7 @@ if (NM_EXECUTABLE)
"-Difort_mangle=$<OR:$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Intel>,$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},IntelLLVM>>"
"-Dicc_mangle=$<STREQUAL:${CMAKE_C_COMPILER_ID},Intel>"
"-Dicx_mangle=$<STREQUAL:${CMAKE_C_COMPILER_ID},IntelLLVM>"
"-Dbuild_config=$<CONFIG>"
-P "${CMAKE_CURRENT_SOURCE_DIR}/nm.cmake")
endif ()
......
......@@ -75,7 +75,9 @@ if (icc_mangle OR icx_mangle)
"_edata"
"_end")
endif ()
if (icc_mangle)
set(debug_types
Debug)
if (icc_mangle AND build_config IN_LIST debug_types)
list(APPEND expected
".debug_info_seg")
endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment