Bug#964137: clazy: autopkgtests failure on 32bit
Source: clazy
Version: 1.7-2
severity: serious
tags: patch
Hello, the following patch should be sufficient to make it work also in autopkgtests.
(note: I'm testing it right now on Ubuntu)
https://launchpad.net/ubuntu/+source/clazy/1.7-2ubuntu1
if the version migrates it means the patch is correct, otherwise please have a look at the Ubuntu package before integrating!
--- clazy-1.7/debian/changelog 2020-07-01 10:44:27.000000000 +0200
+++ clazy-1.7/debian/changelog 2020-07-02 13:10:00.000000000 +0200
@@ -1,3 +1,10 @@
+clazy (1.7-2.1) unstable; urgency=medium
+
+ * Bring back patch to exclude inefficient-qlist check on autopkgtests
+ running on 32bit (Closes: #-1).
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 02 Jul 2020 13:10:00 +0200
+
clazy (1.7-2) unstable; urgency=medium
* Exclude the inefficient-qlist check again, unfortunately on all the 32bit
diff -Nru clazy-1.7/debian/tests/run-tests clazy-1.7/debian/tests/run-tests
--- clazy-1.7/debian/tests/run-tests 2018-11-27 07:23:27.000000000 +0100
+++ clazy-1.7/debian/tests/run-tests 2020-07-02 13:09:59.000000000 +0200
@@ -2,9 +2,17 @@
set -e
+DEB_HOST_ARCH_BITS=$(dpkg-architecture -qDEB_HOST_ARCH_BITS)
+
# show some facts about clang/clang++, so it is easier to debug issues
clang -E -x c - -v < /dev/null
clang++ -E -x c++ - -v < /dev/null
cd tests
-./run_tests.py --verbose
+# wrong size reported, although the test correctly identifies the issue
+# https://bugs.kde.org/show_bug.cgi?id=423728
+if [ $DEB_HOST_ARCH_BITS = 32 ]; then
+ ./run_tests.py --verbose --exclude inefficient-qlist
+else
+ ./run_tests.py --verbose
+fi
Reply to: