Commit c683bc8b authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Cleaning up CMake python test wrapping for radixmath.

parent cdb7ef90
Pipeline #39833 passed with stages
in 17 minutes and 41 seconds
MESSAGE(STATUS "${PACKAGE_NAME} enabling swig python bindings.")
INCLUDE(RadixSWIGPyModules)
......
......@@ -13,11 +13,9 @@ IF(ENABLE_PYTHON_WRAPPERS)
${INTERPOLATE_PYTHON_TEST_NAME}
OVERALL_WORKING_DIRECTORY TEST_NAME
TEST_0
CMND ${CMAKE_COMMAND}
ARGS -E copy "${CMAKE_CURRENT_SOURCE_DIR}/${INTERPOLATE_PYTHON_TEST_FILE}" "${CMAKE_CURRENT_BINARY_DIR}/../python/${INTERPOLATE_PYTHON_TEST_FILE}"
TEST_1
CMND "python"
ARGS "../../python/${INTERPOLATE_PYTHON_TEST_FILE}"
CMND ${PYTHON_EXECUTABLE}
ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${INTERPOLATE_PYTHON_TEST_FILE}"
PASS_REGULAR_EXPRESSION "OK"
ENVIRONMENT "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}/../python/"
)
ENDIF()
\ No newline at end of file
ENDIF()
Supports Markdown
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