Skip to content

Commit 755b8f9

Browse files
tonykuttaiTony Varghese
andauthored
[NFC][PowerPC][clang] Update clang/test/Driver/aix-default-target-triple.c for AIX specific targets (#147584)
This is a followup on the [[PowerPC][clang] Fix triple constructor ambiguity causing "unknown" target triple on AIX](#147488 (comment)) to address the [post-commit review comment](#147488 (comment)). --------- Co-authored-by: Tony Varghese <[email protected]>
1 parent 4581e5a commit 755b8f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/aix-default-target-triple.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// This test verifies that the default target triple is correctly resolved
33
// and doesn't fall back to "unknown" due to constructor ambiguity.
44

5-
// REQUIRES: system-aix
5+
// REQUIRES: system-aix, target={{.*}}-aix{{.*}}
66
// RUN: %clang -v %s -c 2>&1 | FileCheck %s --check-prefix=CHECK-TARGET
77

88
// Test that the target triple contains AIX and is not "unknown"
99
// The target should be something like "powerpc-ibm-aix7.3.0.0"
10-
// CHECK-TARGET: Target: {{.*}}aix{{.*}}
10+
// CHECK-TARGET: Target: {{.*}}-aix{{.*}}
1111

1212
int main() {
1313
return 0;

0 commit comments

Comments
 (0)