From 103ee1dd2617bcbfb7c90c96d2b027d96b03f3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Thu, 23 Sep 2021 15:47:18 +0200 Subject: [PATCH] Skip spuriously failing tests on kfreebsd-* --- debian/rules | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 80f014654..e414948d8 100755 --- a/debian/rules +++ b/debian/rules @@ -51,10 +51,17 @@ override_dh_auto_configure: $(BUILD_FLAGS_FILE) --sphinx-man --sphinx-html --sphinx-flags="-D today=\"$(BUILD_DATE)\"" \ $(BOOTSTRAP_PARALLEL) --verbose +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) + # Workaround for Bug #815231: skip spuriously failing tests + EXCLUDED_TESTS = CTestTestUpload\|kwsys.testSystemTools\|BuildDepends\|RunCMake.Configure +else + EXCLUDED_TESTS = CTestTestUpload +endif + override_dh_auto_test: # Pass -j1 to "make test" as a workaround, see https://gitlab.kitware.com/cmake/cmake/issues/17165 # The tests are still run in parallel as -jX is passed via ARGS to ctest. - dh_auto_test --buildsystem=cmake -- -j1 ARGS="-E CTestTestUpload --timeout 5000 -j$(NUMJOBS)" + dh_auto_test --buildsystem=cmake -- -j1 ARGS="-E $(EXCLUDED_TESTS) --timeout 5000 -j$(NUMJOBS)" execute_after_dh_auto_clean: rm -f $(BUILD_FLAGS_FILE)