mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
fixed: remove old test results before executing new tests
if not, old data is used for comparison and tests pass even though their execution actually failed
This commit is contained in:
parent
836c4cf02c
commit
8efd7f2d55
@ -125,3 +125,9 @@ if((DUNE_ISTL_VERSION_MAJOR GREATER 2) OR
|
||||
add_test_upscale_elasticity(EightCells mpc)
|
||||
add_test_upscale_elasticity(EightCells mortar)
|
||||
endif()
|
||||
|
||||
add_custom_target(clear_test_data ${CMAKE_COMMAND} -E remove_directory ${RESULT_PATH}
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${RESULT_PATH}
|
||||
COMMENT "Removing old test results")
|
||||
|
||||
add_dependencies(check clear_test_data)
|
||||
|
Loading…
Reference in New Issue
Block a user