brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 3aacb84 Raw
18 lines · plain
1!! UNSUPPORTED: system-windows, system-aix2 3!! Test that --gcc-triple option is working as expected.4 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_TRIPLE6! DEFAULT_TRIPLE: {{^}}Found candidate GCC installation:7! DEFAULT_TRIPLE: fedora_39_tree/usr/lib/gcc/x86_64-linux-gnu/138! DEFAULT_TRIPLE: {{^}}Found candidate GCC installation:9! DEFAULT_TRIPLE: fedora_39_tree/usr/lib/gcc/x86_64-redhat-linux/1310! DEFAULT_TRIPLE: {{^}}Selected GCC installation:11! DEFAULT_TRIPLE: fedora_39_tree/usr/lib/gcc/x86_64-linux-gnu/1312 13! RUN: %flang -v --sysroot=%S/Inputs/fedora_39_tree --gcc-triple=x86_64-redhat-linux 2>&1 | FileCheck %s --check-prefix=TRIPLE_EXISTS14! TRIPLE_EXISTS: {{^}}Selected GCC installation:15! TRIPLE_EXISTS: fedora_39_tree/usr/lib/gcc/x86_64-redhat-linux/1316 17! RUN: %flang -v --sysroot=%S/Inputs/fedora_39_tree --gcc-triple=x86_64-foo-linux 2>&1 | FileCheck %s --check-prefix=TRIPLE_DOES_NOT_EXISTS18! TRIPLE_DOES_NOT_EXISTS-NOT: x86_64-foo-linux