Hi,
This is a bit of a ouch, many packages fails due to this.
I did some digging and found that the issues on i386 and armel are different
for i386 is a issue with printing floating point see [0]
for armel something upstream changed but the cause is unknown, i have
reported this upstream see [1]
Not sure if this is "ok" for a short term fix, but i have attached a
"fix" that skips the problematic test on these architectures.
[0] https://github.com/google/googletest/issues/4210
[1] https://github.com/google/googletest/issues/4285
From 550cad54dfe5c129346bc6f684664385558e361c Mon Sep 17 00:00:00 2001
From: Marius Gripsgard <mar...@ubports.com>
Date: Mon, 19 Jun 2023 02:13:59 +0200
Subject: [PATCH] debian/rules: Skip problematic test on armel and i386
---
debian/rules | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index 9ffbcc6..defc372 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,18 @@ override_dh_auto_configure:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# Skip printers tests on i386 due to upstream bug
+# See https://github.com/google/googletest/issues/4210
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386))
+ cd obj-* && ctest -E "googletest-printers-test" || (cat Testing/Temporary/LastTest.log; exit 1)
+# Skip gmock-matchers-misc on armel due to upstream bug
+# See https://github.com/google/googletest/issues/4285
+else ifneq (,$(filter $(DEB_HOST_ARCH),armel))
+ cd obj-* && ctest -E "gmock-matchers-misc_test" || (cat Testing/Temporary/LastTest.log; exit 1)
+else
cd obj-* && ctest || (cat Testing/Temporary/LastTest.log; exit 1)
endif
+endif
override_dh_prep:
dh_prep
--
2.40.1