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
|