Skip to content

Commit 9049914

Browse files
committed
Tensorflow tests should only be built when cppflow option is on
1 parent 08e6085 commit 9049914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ add_catch_test(credible_region LIBRARIES sopt SEED ${RAND_SEED})
2424
add_catch_test(forward_backward LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
2525
add_catch_test(gradient_operator LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
2626
add_catch_test(inpainting LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
27-
add_catch_test(tf_inpainting LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
2827
add_catch_test(linear_transform LIBRARIES sopt SEED ${RAND_SEED})
2928
add_catch_test(maths LIBRARIES sopt SEED ${RAND_SEED})
3029
add_catch_test(padmm LIBRARIES sopt SEED ${RAND_SEED})
@@ -41,6 +40,7 @@ add_catch_test(wrapper LIBRARIES sopt SEED ${RAND_SEED})
4140

4241
if(cppflow)
4342
add_catch_test(cppflow_model LIBRARIES sopt tools_for_tests)
43+
add_catch_test(tf_inpainting LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
4444
endif()
4545

4646
if(SOPT_MPI)

0 commit comments

Comments
 (0)