Skip to content

Commit cd9578b

Browse files
committed
ci-ppc64le: disable sanitizer test
The latest Ubuntu docker container on ppc64le has caused the sanitizer tests to start failing within the PLDM repository. Until we can figure this out, disable these tests on ppc64le machines. See #31 for details Tested: - Verified PLDM repo now passes CI on ppc64le machine Change-Id: I0774dae7a78144cca7d183eb736ac816fd0d242b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 parent f79ce4c commit cd9578b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

scripts/unit-test.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,14 @@ def is_sanitize_safe():
448448
'-fsanitize=undefined', '-o', exe, src],
449449
stdout=devnull, stderr=devnull)
450450
check_call([exe], stdout=devnull, stderr=devnull)
451-
return True
451+
452+
# TODO - Sanitizer not working on ppc64le
453+
# https://github.com/openbmc/openbmc-build-scripts/issues/31
454+
if (platform.processor() == 'ppc64le'):
455+
sys.stderr.write("###### ppc64le is not sanitize safe ######\n")
456+
return False
457+
else:
458+
return True
452459
except:
453460
sys.stderr.write("###### Platform is not sanitize safe ######\n")
454461
return False

0 commit comments

Comments
 (0)