Skip to content
Snippets Groups Projects
Commit f4a60743 authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[T] MPI tests in the testrunner are now part of the `tests`-target.

Was part of `tests_mpi`-target which was never tested in CI.
Tests will probably fail.
parent 1ea3dc38
No related branches found
No related tags found
No related merge requests found
...@@ -193,12 +193,9 @@ if(OGS_USE_PETSC) ...@@ -193,12 +193,9 @@ if(OGS_USE_PETSC)
set(TEST_FILTER_MPI --gtest_filter=-MPITest*) set(TEST_FILTER_MPI --gtest_filter=-MPITest*)
add_custom_target(tests add_custom_target(tests
mpirun ${MPIRUN_ARGS} -np 1 $<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS} ${TEST_FILTER_MPI} mpirun ${MPIRUN_ARGS} -np 1 $<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS} ${TEST_FILTER_MPI}
COMMAND mpirun ${MPIRUN_ARGS} -np 3 $<TARGET_FILE:testrunner> --gtest_filter=MPITest*
DEPENDS testrunner tests-cleanup DEPENDS testrunner tests-cleanup
) )
add_custom_target(tests_mpi
mpirun ${MPIRUN_ARGS} -np 3 $<TARGET_FILE:testrunner> --gtest_filter=MPITest*
DEPENDS testrunner
)
else() else()
add_custom_target(tests add_custom_target(tests
$<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS} $<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment