From aeed4f6888a2396ed0f23391fcc18ba12e5f17da Mon Sep 17 00:00:00 2001 From: Greg Eisenhauer Date: Mon, 24 Apr 2023 19:09:56 -0400 Subject: [PATCH] Don't run selection tests on Windows (where we default to BP4). --- testing/adios2/interface/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testing/adios2/interface/CMakeLists.txt b/testing/adios2/interface/CMakeLists.txt index 050be805b9..65ef387f01 100644 --- a/testing/adios2/interface/CMakeLists.txt +++ b/testing/adios2/interface/CMakeLists.txt @@ -26,6 +26,9 @@ gtest_add_tests_helper(DefineVariable MPI_ALLOW ADIOS Interface. "") gtest_add_tests_helper(DefineAttribute MPI_ALLOW ADIOS Interface. "") gtest_add_tests_helper(Selection MPI_NONE ADIOS Interface. .BP3 WORKING_DIRECTORY ${BP3_DIR} EXTRA_ARGS "BP3") -gtest_add_tests_helper(Selection MPI_NONE ADIOS Interface. .BPfile - WORKING_DIRECTORY ${BPfile_DIR} EXTRA_ARGS "BPfile") +# Some selection only supported by BP3 and BP5. BPfile might default to BP4, so don't run +if(ADIOS2_HAVE_BP5) + gtest_add_tests_helper(Selection MPI_NONE ADIOS Interface. .BPfile + WORKING_DIRECTORY ${BPfile_DIR} EXTRA_ARGS "BPfile") +endif() gtest_add_tests_helper(NoMpi MPI_NONE ADIOS Interface. "")