aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-03-10 10:41:56 +0100
committerChristian Tismer <tismer@stackless.com>2022-03-14 08:54:49 +0100
commita41e27cf932f736441b0bb7e8fe09a0962446a9f (patch)
tree35b7f154e9c5d00e5c4204a779928de39bd424a4 /testing
parentf376c39c904b1d619f8b340443baaa4546bdeca1 (diff)
Blacklist testmodifydocumentation for macOS
The test has been observed to fail on ARM. Add a processor tag to blacklisting that gices "i364" or "arm" on macOS. Pick-to: 6.2 Change-Id: I746c98a15160ab1cf9385986a9ecbef99d6a9f65 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'testing')
-rw-r--r--testing/buildlog.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/buildlog.py b/testing/buildlog.py
index d268c1ac3..afa09c992 100644
--- a/testing/buildlog.py
+++ b/testing/buildlog.py
@@ -46,6 +46,7 @@ BuildLog.classifiers finds the set of classifier strings.
"""
import os
+import platform
import sys
import shutil
from collections import namedtuple
@@ -160,8 +161,8 @@ class BuildLog(object):
if not self.selected:
raise ValueError("+++ No build with the configuration found!")
# Python2 legacy: Correct 'linux2' to 'linux', recommended way.
- platform = "linux" if sys.platform.startswith("linux") else sys.platform
- res = [platform, "qt6"]
+ plat_name = "linux" if sys.platform.startswith("linux") else sys.platform
+ res = [plat_name, "qt6"]
if is_ci:
res.append("ci")
if self.selected.build_classifiers:
@@ -179,6 +180,9 @@ class BuildLog(object):
key = ".".join(parts[:idx])
if key not in res:
res.append(key)
+ # Allow to check the processor.
+ # This gives "i386" or "arm" on macOS.
+ res.append(platform.processor())
return res