Skip to content

Commit

Permalink
Catch CTest errors when linking fails and compiling w/ clang
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 9, 2024
1 parent a639631 commit de3a485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ function(compile_instrumented test_src)
ENVIRONMENT TAU_MAKEFILE=${TAU_${comp}_MAKEFILE}
FIXTURES_REQUIRED clean_${lower_comp}_${TEST_NAME}_objects
DEPENDS ${depends_on}
FAIL_REGULAR_EXPRESSION "[Dd]isabling instrumentation of source code;[Ss]witching to compiler-based instrumentation;[Cc]ompiling with [Nn]on-[Ii]nstrumented [Rr]egular [Cc]ode"
FAIL_REGULAR_EXPRESSION "[Dd]isabling instrumentation of source code;[Ss]witching to compiler-based instrumentation;[Cc]ompiling with [Nn]on-[Ii]nstrumented [Rr]egular [Cc]ode;[Ee]rror:"
)
add_test(NAME rm_old_${lower_comp}_${TEST_NAME}_profiles
COMMAND
Expand Down

0 comments on commit de3a485

Please sign in to comment.