Skip to content

Commit f00574c

Browse files
authored
[SYCL][NFC] Use wildcards for the test triple (#6377)
In some configurations the host triple is not necessarily x864_64. Rather than check the specific value of the host triple, use wildcards. The aux-triple is what is being checked in the run.
1 parent c91f955 commit f00574c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/sycl-offload.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888

8989
/// Check that -aux-triple is passed with -fsycl -fintelfpga
9090
// RUN: %clang -### -fsycl -fintelfpga %s 2>&1 \
91-
// RUN: | FileCheck -DARCH=x86_64 -DARCH2=spir64_fpga -check-prefix=CHK-SYCL-FPGA-AUX-TRIPLE %s
92-
// CHK-SYCL-FPGA-AUX-TRIPLE: clang{{.*}} "-cc1" "-triple" "[[ARCH]]-{{.*}}"{{.*}} "-aux-triple" "[[ARCH2]]-{{.*}}"{{.*}} "-fsycl-is-host"
91+
// RUN: | FileCheck -DARCH=spir64_fpga -check-prefix=CHK-SYCL-FPGA-AUX-TRIPLE %s
92+
// CHK-SYCL-FPGA-AUX-TRIPLE: clang{{.*}} "-cc1" "-triple" "{{.*}}"{{.*}} "-aux-triple" "[[ARCH]]-{{.*}}"{{.*}} "-fsycl-is-host"
9393
/// ###########################################################################
9494

9595
/// Validate SYCL option values

0 commit comments

Comments
 (0)