Unhardcode build directory
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user