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>
This commit is contained in:
juraj.linkes
2018-11-29 09:37:08 +01:00
committed by Ole Trøan
parent f0cbcea428
commit 68ebc83e60
4 changed files with 21 additions and 2 deletions

View File

@ -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