summaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2018-11-29 09:37:08 +0100
committerOle Trøan <otroan@employees.org>2018-12-06 20:58:35 +0000
commit68ebc83e60f91104667b5ee4b4ab13d9716ee860 (patch)
tree8aa467d955a08abfa616e382ff472cb8ed633020 /test/framework.py
parentf0cbcea428e8ffe6018ea782df9ebe9eb5b08dd0 (diff)
Skip failing ARM testcases for CI
There are a few tests that fail on ARM and thus we can't enable testing in CI. Skip the failing tests until they're fixed so that we catch new failures in CI (when we enable testing for the remaining tests). Change-Id: Ie896ef5c449ef965029633e38d317a8d5ac26352 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/framework.py b/test/framework.py
index 2bbb4ce44f7..6c1ba5e3f33 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -12,6 +12,7 @@ import faulthandler
import random
import copy
import psutil
+import platform
from collections import deque
from threading import Thread, Event
from inspect import getdoc, isclass
@@ -133,6 +134,14 @@ def pump_output(testclass):
# of properly terminating the loop
+def is_skip_aarch64_set():
+ return os.getenv('SKIP_AARCH64', 'n').lower() in ('yes', 'y', '1')
+
+
+def is_platform_aarch64():
+ return platform.machine() == 'aarch64'
+
+
def running_extended_tests():
s = os.getenv("EXTENDED_TESTS", "n")
return True if s.lower() in ("y", "yes", "1") else False