From b1d675fa67b6ea2c69d2667c179058fe4d4a5f00 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Fri, 21 Apr 2017 13:29:58 +0200 Subject: Add patch to disable a test that uncleanly writes outside of the build directory. --- ...e-tests-that-uncleanly-write-outside-of-t.patch | 51 ++++++++++++++++++++++ debian/patches/series | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 debian/patches/0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch diff --git a/debian/patches/0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch b/debian/patches/0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch new file mode 100644 index 00000000..463e13d1 --- /dev/null +++ b/debian/patches/0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch @@ -0,0 +1,51 @@ +From 1ecf2bf414b0cacf43fb05e4ba33528c7cfc04a1 Mon Sep 17 00:00:00 2001 +From: Gard Spreemann +Date: Fri, 21 Apr 2017 11:55:21 +0200 +Subject: [PATCH] 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 $ +- "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalOneSphere.txt") ++#add_test(NAME Bitmap_cubical_complex_example_persistence_one_sphere COMMAND $ ++# "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalOneSphere.txt") + +-add_test(NAME Bitmap_cubical_complex_example_persistence_two_sphere COMMAND $ +- "${CMAKE_SOURCE_DIR}/data/bitmap/CubicalTwoSphere.txt") ++#add_test(NAME Bitmap_cubical_complex_example_persistence_two_sphere COMMAND $ ++# "${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 $ +- "${CMAKE_SOURCE_DIR}/data/bitmap/2d_torus.txt") ++#add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_2d_torus ++# COMMAND $ ++# "${CMAKE_SOURCE_DIR}/data/bitmap/2d_torus.txt") + +-add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_3d_torus +- COMMAND $ +- "${CMAKE_SOURCE_DIR}/data/bitmap/3d_torus.txt") ++#add_test(NAME Bitmap_cubical_complex_example_periodic_boundary_conditions_3d_torus ++# COMMAND $ ++# "${CMAKE_SOURCE_DIR}/data/bitmap/3d_torus.txt") ++ +-- +2.11.0 + diff --git a/debian/patches/series b/debian/patches/series index 8b137891..3b2c6c02 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ - +0001-Disable-some-tests-that-uncleanly-write-outside-of-t.patch -- cgit v1.2.3