Skip to content
Snippets Groups Projects
Commit 3b782354 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

don't compile fp16 test if half precision is disabled

parent 1e26e113
No related merge requests found
......@@ -172,9 +172,6 @@ waLBerla_compile_test( FILES DebugSTLTest.cpp )
waLBerla_execute_test( NAME DebugSTLTest )
set_tests_properties(DebugSTLTest PROPERTIES WILL_FAIL TRUE)
waLBerla_compile_test( FILES FP16Test.cpp )
waLBerla_execute_test( NAME FP16Test )
waLBerla_compile_test( FILES FunctionTraitsTest.cpp )
waLBerla_execute_test( NAME FunctionTraitsTest )
......@@ -235,4 +232,7 @@ if ( WALBERLA_BUILD_WITH_HALF_PRECISION_SUPPORT )
# Which features are actually supported depend on the compiler
target_compile_features( Float16SupportTest PUBLIC cxx_std_23 )
waLBerla_execute_test(NAME Float16SupportTest)
waLBerla_compile_test( FILES FP16Test.cpp )
waLBerla_execute_test( NAME FP16Test )
endif ()
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment