Merge pull request #3732 from Tongdongq/fix-solvetransposed-test

Only include test if opencl is found
This commit is contained in:
Arne Morten Kvarving 2021-12-09 09:01:50 +01:00 committed by GitHub
commit 390e5250f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,6 @@ list (APPEND TEST_SOURCE_FILES
tests/test_timer.cpp
tests/test_invert.cpp
tests/test_stoppedwells.cpp
tests/test_solvetransposed3x3.cpp
tests/test_relpermdiagnostics.cpp
tests/test_norne_pvt.cpp
tests/test_wellprodindexcalculator.cpp
@ -169,6 +168,7 @@ if(CUDA_FOUND)
endif()
if(OPENCL_FOUND)
list(APPEND TEST_SOURCE_FILES tests/test_openclSolver.cpp)
list(APPEND TEST_SOURCE_FILES tests/test_solvetransposed3x3.cpp)
endif()
list (APPEND TEST_DATA_FILES