Skip to content

Commit 140399e

Browse files
authored
[AIX][z/OS] Disable strip before hashing (#126)
Similar to other platforms already opted out, these platforms' strip utility does not support the extra options used here.
1 parent ad9cc9d commit 140399e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litsupport/modules/hash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ def compute(context):
1010
return
1111
executable = context.executable
1212
try:
13-
# Darwin's and Solaris' "strip" don't support these arguments.
14-
if platform.system() != "Darwin" and platform.system() != "SunOS":
13+
# AIX, z/OS, and Darwin's and Solaris' "strip" don't support these arguments.
14+
if platform.system() != 'OS/390' and platform.system() != 'AIX' and platform.system() != "Darwin" and platform.system() != "SunOS":
1515
stripped_executable = executable + ".stripped"
1616
testplan.check_call(
1717
[

0 commit comments

Comments
 (0)