[Pkg-cmake-team] Bug#960179: cmake: patch to make autopkgtests more reliable

Gianfranco Costamagna locutusofborg at debian.org
Sun May 10 11:34:09 BST 2020


Source: cmake
Version: 3.16.3-3
Severity: normal
Tags: patch

Hello, since some time, the Ubuntu delta we introduced made our autopkgtests a little more reliable, specially on slow architectures such as armhf

This is applied since 3.15.4-1
+cmake (3.15.4-1ubuntu3) focal; urgency=medium
+
+  * Unset proxy settings during autopkgtest. Tests try to resolve no-site
+    and match stderr, with bad network on armhf autopkgtest runners
+    instead the stderr is failing to resolve squid.internal.
+
+ -- Dimitri John Ledkov <xnox at ubuntu.com>  Wed, 15 Jan 2020 11:36:29 +0000


diff -Nru cmake-3.16.3/debian/tests/testsuite cmake-3.16.3/debian/tests/testsuite
--- cmake-3.16.3/debian/tests/testsuite	2019-11-12 18:51:24.000000000 +0100
+++ cmake-3.16.3/debian/tests/testsuite	2020-05-10 12:30:32.000000000 +0200
@@ -8,4 +8,7 @@
 
 cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin "$SRCDIR"
 make VERBOSE=1
+unset http_proxy
+unset https_proxy
+unset no_proxy
 CTEST_OUTPUT_ON_FAILURE=1 ctest -E '(CTestTestUpload|BootstrapTest)'
diff -Nru cmake-3.16.3/debian/tests/testsuite-ninja cmake-3.16.3/debian/tests/testsuite-ninja
--- cmake-3.16.3/debian/tests/testsuite-ninja	2019-11-12 18:51:33.000000000 +0100
+++ cmake-3.16.3/debian/tests/testsuite-ninja	2020-05-10 12:30:32.000000000 +0200
@@ -8,4 +8,7 @@
 
 cmake -DCMake_TEST_EXTERNAL_CMAKE=/usr/bin -GNinja "$SRCDIR"
 ninja -v
+unset http_proxy
+unset https_proxy
+unset no_proxy
 CTEST_OUTPUT_ON_FAILURE=1 ctest -E '(CTestTestUpload|BootstrapTest)'


It would be nice to merge this change in Debian, so we can sync cmake again!

cheers,

Gianfranco



More information about the Pkg-cmake-team mailing list