Unhardcode build directory

This commit is contained in:
2026-05-13 14:08:26 -05:00
parent 6341e3cd8c
commit c0559f7d6a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ function(add_dr_test script)
set_tests_properties(${script} PROPERTIES
TIMEOUT 30
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
endfunction()
+1 -1
View File
@@ -68,7 +68,7 @@ export -f dr_result
# Resolve paths relative to this script
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
PROJECT_ROOT=$(cd "${SCRIPT_DIR}/.." && pwd)
DRHARNESS="${PROJECT_ROOT}/build/drharness"
DRHARNESS="${PWD}/drharness"
MOCK_EDITOR="${PROJECT_ROOT}/tests/mock_editor.sh"
# Validate drharness binary exists