mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: pyaction tests for super build
properly set python path in tests to find the opm_embedded module
This commit is contained in:
parent
6bdbb6abdf
commit
b0c1a63537
@ -143,6 +143,10 @@ function(add_test_compareSeparateECLFiles)
|
||||
SIMULATOR ${PARAM_SIMULATOR}
|
||||
TESTNAME ${PARAM_CASENAME}
|
||||
PROCESSORS ${MPI_PROCS})
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
|
||||
set_tests_properties(${PARAM_PREFIX}_${PARAM_SIMULATOR}+${PARAM_CASENAME} PROPERTIES
|
||||
ENVIRONMENT_MODIFICATION PYTHONPATH=path_list_append:${opm-common_DIR}/python)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
###########################################################################
|
||||
|
@ -787,6 +787,10 @@ if (opm-common_EMBEDDED_PYTHON)
|
||||
REL_TOL ${rel_tol}
|
||||
DIR udq_actionx
|
||||
TEST_ARGS --solver-max-time-step-in-days=10)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
|
||||
set_tests_properties(compareECLFiles_flow+PYACTION_WCONPROD PROPERTIES
|
||||
ENVIRONMENT_MODIFICATION PYTHONPATH=path_list_append:${opm-common_DIR}/python)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_test_compareECLFiles(CASENAME multxyz_model2
|
||||
|
Loading…
Reference in New Issue
Block a user