Skip to content

Commit

Permalink
i#3101 drcachesim external: Fix CMake syntax errors (#6357)
Browse files Browse the repository at this point in the history
Fixes un-escaped quote characters from PR #6335 which show up as CMake
warnings.

Issue: #3101
  • Loading branch information
derekbruening authored Oct 12, 2023
1 parent 54f393b commit ea47baf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clients/drcachesim/tools/external/example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ if (X86 AND X64 AND ZIP_FOUND)
add_test(NAME drcachesim.non-existent_load
COMMAND ${PROJECT_BINARY_DIR}/bin64/drrun -t drcachesim -offline
-simulator_type non-existent -indir ${trace_dir})
set(nonexistent_regex "Usage error: unsupported analyzer type "non-existent".
Please choose cache, miss_analyzer, TLB, histogram, reuse_distance, basic_counts,
opcode_mix, syscall_mix, view, func_view, or some external analyzer.\nERROR: failed
to initialize analyzer: Failed to create analysis tool:")
set(nonexistent_regex "Usage error: unsupported analyzer type \"non-existent\". Please choose cache, miss_analyzer, TLB, histogram, reuse_distance, basic_counts, opcode_mix, syscall_mix, view, func_view, or some external analyzer.\nERROR: failed to initialize analyzer: Failed to create analysis tool:")
set_tests_properties(drcachesim.non-existent_load
PROPERTIES PASS_REGULAR_EXPRESSION "${nonexistent_regex}")
endif ()

0 comments on commit ea47baf

Please sign in to comment.