File: 0008-Disable-tests-downloading-files-from-the-internet.patch

package info (click to toggle)
ros-image-pipeline 1.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,320 kB
  • sloc: cpp: 6,220; python: 2,143; xml: 445; sh: 21; makefile: 4
file content (53 lines) | stat: -rw-r--r-- 2,154 bytes parent folder | download | duplicates (2)
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
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Wed, 27 Oct 2021 21:34:28 +0200
Subject: Disable tests downloading files from the internet

---
 camera_calibration/CMakeLists.txt | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/camera_calibration/CMakeLists.txt b/camera_calibration/CMakeLists.txt
index e382aca..9d3c075 100644
--- a/camera_calibration/CMakeLists.txt
+++ b/camera_calibration/CMakeLists.txt
@@ -6,23 +6,23 @@ catkin_package()
 
 catkin_python_setup()
 
-if(CATKIN_ENABLE_TESTING)
-  # Unit test of calibrator.py
-  catkin_add_nosetests(test/directed.py)
-
-  # Tests simple calibration dataset
-  catkin_download_test_data(camera_calibration.tar.gz http://download.ros.org/data/camera_calibration/camera_calibration.tar.gz
-    DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/tests
-    MD5 6da43ea314640a4c15dd7a90cbc3aee0
-  )
-
-  # Tests multiple checkerboards
-  catkin_download_test_data(multi_board_calibration.tar.gz http://download.ros.org/data/camera_calibration/multi_board_calibration.tar.gz
-    DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/tests
-    MD5 ddc0f69582d140e33f9d3bfb681956bb
-  )
-  catkin_add_nosetests(test/multiple_boards.py)
-endif()
+#if(CATKIN_ENABLE_TESTING)
+#  # Unit test of calibrator.py
+#  catkin_add_nosetests(test/directed.py)
+#
+#  # Tests simple calibration dataset
+#  catkin_download_test_data(camera_calibration.tar.gz http://download.ros.org/data/camera_calibration/camera_calibration.tar.gz
+#    DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/tests
+#    MD5 6da43ea314640a4c15dd7a90cbc3aee0
+#  )
+#
+#  # Tests multiple checkerboards
+#  catkin_download_test_data(multi_board_calibration.tar.gz http://download.ros.org/data/camera_calibration/multi_board_calibration.tar.gz
+#    DESTINATION ${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/tests
+#    MD5 ddc0f69582d140e33f9d3bfb681956bb
+#  )
+#  catkin_add_nosetests(test/multiple_boards.py)
+#endif()
 
 catkin_install_python(PROGRAMS nodes/cameracalibrator.py
   nodes/cameracheck.py