From 9176163d610d5392a516d9d328a5a1c2170f0b5b Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Tue, 27 Mar 2018 10:52:12 -0600 Subject: [PATCH] Disable unit test openmp.gemm_double for KOKKOS_ENABLE_DEBUG=OFF This is needed for trilinos/Trilinos#2439. --- unit_test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/unit_test/CMakeLists.txt b/unit_test/CMakeLists.txt index fdef92424f..cfb0c617b6 100644 --- a/unit_test/CMakeLists.txt +++ b/unit_test/CMakeLists.txt @@ -85,11 +85,16 @@ IF (Kokkos_ENABLE_OpenMP) APPEND_GLOB(OPENMP_BLAS_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/openmp/Test_OpenMP_Blas*.cpp) + IF (KOKKOS_ENABLE_DEBUG) + SET(DISABLE_SLOW_DGEMM_DOUBLE_TEST "--gtest_filter=-openmp.gemm_double") + ENDIF() + TRIBITS_ADD_EXECUTABLE_AND_TEST( blas_openmp SOURCES Test_Main.cpp ${OPENMP_BLAS_SOURCES} + ARGS ${DISABLE_SLOW_DGEMM_DOUBLE_TEST} COMM serial mpi NUM_MPI_PROCS 1 TESTONLYLIBS kokkoskernels_gtest