File: Disable-tests-that-run-too-long.patch

package info (click to toggle)
sopt 5.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,704 kB
  • sloc: cpp: 13,620; xml: 182; makefile: 6
file content (73 lines) | stat: -rw-r--r-- 3,534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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)