[flang-commits] [flang] [flang] Fix flang tests on MacOS (PR #70811)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Tue Nov 7 13:18:18 PST 2023


================
@@ -10,7 +10,7 @@
 ! RUN: %flang -### -S -flto=jobserver %s 2>&1 | FileCheck %s --check-prefix=FULL-LTO
 
 ! Also check linker plugin opt for Thin LTO
-! RUN: %flang -### -flto=thin %s 2>&1 | FileCheck %s --check-prefix=THIN-LTO
+! RUN: %flang --target=x86_64-linux-gnu -### -flto=thin %s 2>&1 | FileCheck %s --check-prefix=THIN-LTO
----------------
luporl wrote:

The last commit changes the failing check to `! THIN-LTO-NOT-DARWIN: "-plugin-opt=thinlto"`, that is tested only if `!system-darwin`.

https://github.com/llvm/llvm-project/pull/70811


More information about the flang-commits mailing list