Skip to content

Commit 7ca9631

Browse files
[Clang] Disable tests using env -u on AIX
env -u is not suppoted on AIX. Disable these tests for now on that platform until we can finish enabling the internal shell by default.
1 parent 287a5a9 commit 7ca9631

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

clang/test/Driver/config-file3.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// Needs symlinks
22
// UNSUPPORTED: system-windows
3+
// env -u is not supported on AIX.
4+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
5+
// internal shell which does support env -u.
6+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
37
// REQUIRES: x86-registered-target
48

59
// RUN: rm -rf %t && mkdir %t

clang/test/Driver/config-zos.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// Needs symlinks
22
// UNSUPPORTED: system-windows
3+
// env -u is not supported on AIX.
4+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
5+
// internal shell which does support env -u.
6+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
37
// REQUIRES: systemz-registered-target
48

59
// RUN: rm -rf %t && mkdir %t

clang/test/Driver/config-zos1.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// UNSUPPORTED: system-windows
2+
// env -u is not supported on AIX.
3+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
4+
// internal shell which does support env -u.
5+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
26
// REQUIRES: systemz-registered-target
37

48
// RUN: export CLANG_CONFIG_PATH=%S/Inputs/config-zos

clang/test/Modules/crash-vfs-path-symlink-component.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// Needs symlinks
22
// UNSUPPORTED: system-windows
3+
// env -u is not supported on AIX.
4+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
5+
// internal shell which does support env -u.
6+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
37
// REQUIRES: crash-recovery
48

59
// FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?

clang/test/Modules/crash-vfs-path-traversal.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// UNSUPPORTED: ms-sdk, target={{.*-(ps4|ps5)}}
33
// Some assertions in this test use Linux style (/) file paths.
44
// UNSUPPORTED: system-windows
5+
// env -u is not supported on AIX.
6+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
7+
// internal shell which does support env -u.
8+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
59

610
// FIXME: Canonicalizing paths to remove relative traversal components
711
// currenty fails a unittest on windows and is disable by default.

clang/test/Modules/crash-vfs-relative-overlay.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// UNSUPPORTED: system-windows
22
// REQUIRES: crash-recovery
3+
// env -u is not supported on AIX.
4+
// TODO(boomanaiden154): Remove this once we have switched over to lit's
5+
// internal shell which does support env -u.
6+
// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
37

48
// FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
59
// XFAIL: target={{.*-windows-gnu}}

0 commit comments

Comments
 (0)