Commit fbc266f0 authored by vladlosev's avatar vladlosev
Browse files

Corrects test binary paths in the CMake build script.

parent 1097b54d
......@@ -184,7 +184,7 @@ function(py_test name)
# only at ctest runtime (by calling ctest -c <Configuration>), so
# we have to escape $ to delay variable substitution here.
add_test(${name}
${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/test/${name}.py
--build_dir=${CMAKE_BINARY_DIR}/\${CTEST_CONFIGURATION_TYPE})
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/${name}.py
--build_dir=${CMAKE_CURRENT_BINARY_DIR}/\${CTEST_CONFIGURATION_TYPE})
endif()
endfunction()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment