changed: do not require a "fancy name" for tests
earlier the assumption has been that all test executables have a test_ prefix which was stripped off. now we just use the full name if the prefix is not found.
This commit is contained in:
parent
72ca4a4ded
commit
bd316fa27f
@ -86,7 +86,9 @@ macro (opm_compile_satellites opm satellite excl_all test_regexp)
|
||||
foreach (_regexp IN ITEMS ${test_regexp})
|
||||
if ("${_sat_NAME}" MATCHES "${_regexp}")
|
||||
string (REGEX REPLACE "${_regexp}" "\\1" _sat_FANCY "${_sat_NAME}")
|
||||
endif ("${_sat_NAME}" MATCHES "${_regexp}")
|
||||
else()
|
||||
set(_sat_FANCY ${_sat_NAME})
|
||||
endif()
|
||||
endforeach (_regexp)
|
||||
get_target_property (_sat_LOC ${_sat_NAME} LOCATION)
|
||||
# Run tests through mpi-run. Ubuntu 14.04 provided mpi libs will crash
|
||||
|
Loading…
Reference in New Issue
Block a user