From: Ole Streicher <olebole@debian.org>
Date: Wed, 11 Sep 2024 15:14:56 +0200
Subject: Disable tests that run too long

---
 cpp/examples/CMakeLists.txt               | 2 --
 cpp/examples/proximal_admm/CMakeLists.txt | 1 -
 cpp/examples/sdmm/CMakeLists.txt          | 1 -
 cpp/tests/CMakeLists.txt                  | 7 -------
 4 files changed, 11 deletions(-)

diff --git a/cpp/examples/CMakeLists.txt b/cpp/examples/CMakeLists.txt
index 377e6f7..978e74f 100644
--- a/cpp/examples/CMakeLists.txt
+++ b/cpp/examples/CMakeLists.txt
@@ -7,7 +7,5 @@ add_example(sara LIBRARIES sopt LABELS wavelets)
 add_example(soft_threshhold LIBRARIES sopt LABELS proximals)
 add_example(wavelets LIBRARIES sopt LABELS wavelets)
 
-add_subdirectory(forward_backward)
-add_subdirectory(primal_dual)
 add_subdirectory(proximal_admm)
 add_subdirectory(sdmm)
diff --git a/cpp/examples/proximal_admm/CMakeLists.txt b/cpp/examples/proximal_admm/CMakeLists.txt
index 2ece60a..6c01669 100644
--- a/cpp/examples/proximal_admm/CMakeLists.txt
+++ b/cpp/examples/proximal_admm/CMakeLists.txt
@@ -1,3 +1,2 @@
 add_example(padmm_euclidian_norm euclidian_norm.cc LIBRARIES sopt LABELS padmm)
-add_example(padmm_inpainting inpainting.cc LIBRARIES sopt tools_for_tests)
 add_example(padmm_reweighted NOTEST reweighted.cc LIBRARIES sopt tools_for_tests)
diff --git a/cpp/examples/sdmm/CMakeLists.txt b/cpp/examples/sdmm/CMakeLists.txt
index 8e249ac..3c52583 100644
--- a/cpp/examples/sdmm/CMakeLists.txt
+++ b/cpp/examples/sdmm/CMakeLists.txt
@@ -1,3 +1,2 @@
 add_example(euclidian_norm LIBRARIES sopt LABELS sdmm)
-add_example(inpainting LIBRARIES sopt tools_for_tests LABELS sdmm)
 add_example(reweighted NOTEST LIBRARIES sopt tools_for_tests LABELS sdmm)
diff --git a/cpp/tests/CMakeLists.txt b/cpp/tests/CMakeLists.txt
index eace11f..4ddfb4e 100644
--- a/cpp/tests/CMakeLists.txt
+++ b/cpp/tests/CMakeLists.txt
@@ -29,10 +29,6 @@ add_catch_test(chained_operators LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(conjugate_gradient LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(credible_region LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(forward_backward LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
-add_catch_test(gradient_operator LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
-add_catch_test(inpainting LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
-add_catch_test(stochastic_update LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
-add_catch_test(pd_inpainting LIBRARIES sopt tools_for_tests SEED ${RAND_SEED})
 add_catch_test(linear_transform LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(maths LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(padmm LIBRARIES sopt SEED ${RAND_SEED})
@@ -40,10 +36,8 @@ add_catch_test(padmm_warm_start LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(primal_dual LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(proximal LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(reweighted LIBRARIES sopt SEED ${RAND_SEED})
-add_catch_test(sara LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(sdmm LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(sdmm_warm_start LIBRARIES sopt SEED ${RAND_SEED})
-add_catch_test(wavelets LIBRARIES sopt SEED ${RAND_SEED})
 add_catch_test(wrapper LIBRARIES sopt SEED ${RAND_SEED})
 
 if(onnxrt)
@@ -89,7 +83,6 @@ if(SOPT_MPI)
     add_mpi_test_from_test(${testname})
   endfunction()
 
-  add_mpi_test(serial_vs_parallel_padmm LIBRARIES sopt tools_for_tests)
   add_mpi_test(mpi_wavelets LIBRARIES sopt)
 
   add_catch_test(mpi_session NOMAIN LIBRARIES sopt NOTEST)
