Merge pull request #323 from akva2/enough_with_the_fancy_smancy

changed: do not require a "fancy name" for tests
This commit is contained in:
Arne Morten Kvarving 2018-01-25 11:38:58 +01:00 committed by GitHub
commit 81036d42fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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