Skip to content

Commit

Permalink
Fix bad working directory for tests
Browse files Browse the repository at this point in the history
case-insensitive macOS lead me to miss this until tested on UO machine
  • Loading branch information
zbeekman committed Dec 10, 2024
1 parent e830e19 commit 022adfc
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 @@ -533,7 +533,7 @@ function(compile_instrumented test_src)
add_test(NAME compile_${lower_comp}_${TEST_NAME}
COMMAND
${TAUC} ${TAUC_OPTS} ${compiler_opts} -o ${TEST_BASE_NAME}.${lower_comp} ${test_path}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${lower_comp}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${comp}
)
set_tests_properties(compile_${lower_comp}_${TEST_NAME}
PROPERTIES
Expand Down

0 comments on commit 022adfc

Please sign in to comment.