changed: no need to manually specify test data in update script

rather specify it as properties on the tests themself and extract
using some awk-ing.
This commit is contained in:
Arne Morten Kvarving
2023-05-31 12:06:37 +02:00
parent bbd65d8968
commit 4a3a47c764
3 changed files with 44 additions and 218 deletions

View File

@@ -79,6 +79,11 @@ function(add_test_compareECLFiles)
EXE_NAME ${PARAM_SIMULATOR}
DRIVER_ARGS ${DRIVER_ARGS}
TEST_ARGS ${TEST_ARGS})
set_tests_properties(${PARAM_PREFIX}_${PARAM_SIMULATOR}+${PARAM_FILENAME} PROPERTIES
DIRNAME ${PARAM_DIR}
FILENAME ${PARAM_FILENAME}
SIMULATOR ${PARAM_SIMULATOR}
TESTNAME ${PARAM_CASENAME})
endfunction()
###########################################################################