diff --git a/dune/common/parallel/test/CMakeLists.txt b/dune/common/parallel/test/CMakeLists.txt index 66da92c081db161af356399e7e83f09dc5bd00d5..0daa7bbef4181d7d18402117575299c6a219a5e1 100644 --- a/dune/common/parallel/test/CMakeLists.txt +++ b/dune/common/parallel/test/CMakeLists.txt @@ -30,3 +30,10 @@ add_test(selectiontest selectiontest) add_test(indicestest indicestest) add_test(syncertest syncertest) add_test(variablesizecommunicatortest variablesizecommunicatortest) + +# treat tests returning code 77 as skipped +set_tests_properties( + indicestest + syncertest + variablesizecommunicatortest + PROPERTIES SKIP_RETURN_CODE 77) diff --git a/dune/common/test/CMakeLists.txt b/dune/common/test/CMakeLists.txt index 65131327a28e9fff6274ae3f7b4f3495877c5764..794bb8c316c5f0643683f929cc319e981942438d 100644 --- a/dune/common/test/CMakeLists.txt +++ b/dune/common/test/CMakeLists.txt @@ -170,7 +170,12 @@ foreach(_TEST ${TESTPROGS}) add_test(${_TEST} ${_TEST}) endforeach(_TEST) -#Set properties for failing tests +# treat tests returning code 77 as skipped +set_tests_properties( + mpicollectivecommunication + PROPERTIES SKIP_RETURN_CODE 77) + +# set properties for failing tests set_tests_properties( ${FAILTESTS} PROPERTIES WILL_FAIL true) @@ -183,5 +188,3 @@ endforeach(_TEST) set_tests_properties( ${COMPILEFAILTESTS} PROPERTIES WILL_FAIL true) - -