summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch
blob: c4b39f01aa43ee1a809f0445d3c5000f04d6889e (plain)
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
From d453ab3742d87c3c1e985db3899f1085cd57829a Mon Sep 17 00:00:00 2001
From: Gard Spreemann <gspreemann@gmail.com>
Date: Fri, 21 Apr 2017 11:55:21 +0200
Subject: [PATCH 1/2] Disable some tests that uncleanly write outside of the
 build directory.

---
 example/Bitmap_cubical_complex/CMakeLists.txt | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/example/Bitmap_cubical_complex/CMakeLists.txt b/example/Bitmap_cubical_complex/CMakeLists.txt
index 241a11e..82fd911 100644
--- a/example/Bitmap_cubical_complex/CMakeLists.txt
+++ b/example/Bitmap_cubical_complex/CMakeLists.txt
@@ -7,11 +7,11 @@ if (TBB_FOUND)
   target_link_libraries(Bitmap_cubical_complex ${TBB_LIBRARIES})
 endif()
 
-add_test(NAME Bitmap_cubical_complex_example_persistence_one_sphere COMMAND $<TARGET_FILE:Bitmap_cubical_complex>
-    "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalOneSphere.txt")
+#add_test(NAME Bitmap_cubical_complex_example_persistence_one_sphere COMMAND $<TARGET_FILE:Bitmap_cubical_complex>
+#    "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalOneSphere.txt")
 
-add_test(NAME Bitmap_cubical_complex_example_persistence_two_sphere COMMAND $<TARGET_FILE:Bitmap_cubical_complex>
-    "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalTwoSphere.txt")
+#add_test(NAME Bitmap_cubical_complex_example_persistence_two_sphere COMMAND $<TARGET_FILE:Bitmap_cubical_complex>
+#    "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalTwoSphere.txt")
 
 add_executable ( Random_bitmap_cubical_complex Random_bitmap_cubical_complex.cpp )
 target_link_libraries(Random_bitmap_cubical_complex ${Boost_SYSTEM_LIBRARY})
@@ -27,10 +27,11 @@ if (TBB_FOUND)
   target_link_libraries(Bitmap_cubical_complex_periodic_boundary_conditions ${TBB_LIBRARIES})
 endif()
 
-add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_2d_torus
-    COMMAND $<TARGET_FILE:Bitmap_cubical_complex_periodic_boundary_conditions>
-    "${CMAKE_SOURCE_DIR}/data/bitmap/2d_torus.txt")
+#add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_2d_torus
+#    COMMAND $<TARGET_FILE:Bitmap_cubical_complex_periodic_boundary_conditions>
+#    "${CMAKE_SOURCE_DIR}/data/bitmap/2d_torus.txt")
 
-add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_3d_torus
-    COMMAND $<TARGET_FILE:Bitmap_cubical_complex_periodic_boundary_conditions>
-    "${CMAKE_SOURCE_DIR}/data/bitmap/3d_torus.txt")
+#add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_3d_torus
+#    COMMAND $<TARGET_FILE:Bitmap_cubical_complex_periodic_boundary_conditions>
+#    "${CMAKE_SOURCE_DIR}/data/bitmap/3d_torus.txt")
+ 
-- 
2.11.0