Skip to content

Commit 73e3d78

Browse files
committed
[flang][test] Fix gcc-triple test when default target is not x86_64
By adding --target to the first command. Test added by #165886.
1 parent dec6e73 commit 73e3d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Driver/gcc-triple.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
!! Test that --gcc-triple option is working as expected.
44

5-
! RUN: %flang -v --sysroot=%S/Inputs/fedora_39_tree 2>&1 | FileCheck %s --dump-input=always --check-prefix=DEFAULT_TRIPLE
5+
! RUN: %flang --target=x86_64-linux-gnu -v --sysroot=%S/Inputs/fedora_39_tree 2>&1 | FileCheck %s --dump-input=always --check-prefix=DEFAULT_TRIPLE
66
! DEFAULT_TRIPLE: {{^}}Found candidate GCC installation:
77
! DEFAULT_TRIPLE: fedora_39_tree/usr/lib/gcc/x86_64-linux-gnu/13
88
! DEFAULT_TRIPLE: {{^}}Found candidate GCC installation:

0 commit comments

Comments
 (0)