[flang-commits] [flang] [flang] Repair recent Power build bot breakage (PR #124950)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Thu Jan 30 08:26:56 PST 2025


================
@@ -1,4 +1,5 @@
-! RUN: %python %S/test_errors.py %s %flang_fc1
+! RUN: not %flang_fc1 %s 2>%t.stderr
+! RUN: FileCheck %s --input-file=%t.stderr --check-prefixes=%if system-aix %{"PORTABILITY","WARNING","ERROR","AIX_WARNING"%} %else %{"PORTABILITY","WARNING","ERROR","NON_AIX_WARNING"%}
----------------
kkwli wrote:

```suggestion
! RUN: FileCheck %s --input-file=%t.stderr --check-prefixes=%if system-aix %{"PORTABILITY","WARNING","ERROR","AIX_WARNING"%} %else %{"PORTABILITY","WARNING","ERROR"%}
```

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


More information about the flang-commits mailing list