Skip to content

Commit 66d6964

Browse files
Fix tests failing on fuchsia clang x86_64 builders (#144655)
Fuchsia sets CLANG_DEFAULT_UNWINDLIB to libunwind. As a result, when rtlib is set to libgcc and unwindlib is not explicitly specified, tests using Fuchsia as the default platform will fail. To address this, the affected tests are now xfailed This change fixes the following tests introduced in 45ea46c: clang/test/Driver/aarch64-toolchain-extra.c clang/test/Driver/arm-toolchain-extra.c clang/test/Driver/aarch64-toolchain.c clang/test/Driver/arm-toolchain.c
1 parent c3efe7d commit 66d6964

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

clang/test/Driver/aarch64-toolchain-extra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// The tests here are similar to those in aarch64-toolchain.c, however
44
// these tests need to create symlinks to test directory trees in order to
55
// set up the environment and therefore shell support is required.
6+
// XFAIL: target={{.*}}-fuchsia{{.*}}
67
// REQUIRES: shell
78
// UNSUPPORTED: system-windows
89

clang/test/Driver/aarch64-toolchain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: target={{.*}}-fuchsia{{.*}}
12
// UNSUPPORTED: system-windows
23

34
// RUN: %clang -### %s -fuse-ld= \

clang/test/Driver/arm-toolchain-extra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// The tests here are similar to those in arm-toolchain.c, however
44
// these tests need to create symlinks to test directory trees in order to
55
// set up the environment and therefore shell support is required.
6+
// XFAIL: target={{.*}}-fuchsia{{.*}}
67
// REQUIRES: shell
78
// UNSUPPORTED: system-windows
89

clang/test/Driver/arm-toolchain.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: target={{.*}}-fuchsia{{.*}}
12
// UNSUPPORTED: system-windows
23

34
// RUN: %clang -### %s -fuse-ld= \

0 commit comments

Comments
 (0)