From da1a8876086fde210bace059bb5e9ea9886362f1 Mon Sep 17 00:00:00 2001 From: Kelvin Li Date: Mon, 1 Dec 2025 20:53:44 -0500 Subject: [PATCH] [flang] Enable debug test on AIX (NFC) (#169945) --- flang/test/Lower/module-debug-file-loc-linux.f90 | 2 +- flang/test/Transforms/debug-dwarf-version.fir | 2 +- flang/test/Transforms/debug-line-table-existing.fir | 2 +- flang/test/Transforms/debug-line-table-inc-file.fir | 2 +- flang/test/Transforms/debug-line-table-inc-same-file.fir | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flang/test/Lower/module-debug-file-loc-linux.f90 b/flang/test/Lower/module-debug-file-loc-linux.f90 index 454fad98e9af..1c67d83492cc 100644 --- a/flang/test/Lower/module-debug-file-loc-linux.f90 +++ b/flang/test/Lower/module-debug-file-loc-linux.f90 @@ -2,7 +2,7 @@ ! RUN: %flang_fc1 -mmlir --mlir-print-debuginfo -emit-fir -o - %s | FileCheck %s -! REQUIRES: system-linux +! REQUIRES: system-linux || system-aix subroutine sb1() end subroutine diff --git a/flang/test/Transforms/debug-dwarf-version.fir b/flang/test/Transforms/debug-dwarf-version.fir index fe2700274ab8..0136d2469d74 100644 --- a/flang/test/Transforms/debug-dwarf-version.fir +++ b/flang/test/Transforms/debug-dwarf-version.fir @@ -8,7 +8,7 @@ // RUN: | FileCheck --check-prefix=CHECK-DWARF2 %s // RUN: fir-opt --add-debug-info= --mlir-print-debuginfo %s \ // RUN: | FileCheck --check-prefix=CHECK-WITHOUT-VERSION %s -// REQUIRES: system-linux +// REQUIRES: system-linux || system-aix module { } loc(#loc) diff --git a/flang/test/Transforms/debug-line-table-existing.fir b/flang/test/Transforms/debug-line-table-existing.fir index 03eefd08a437..98ca3dcb2a71 100644 --- a/flang/test/Transforms/debug-line-table-existing.fir +++ b/flang/test/Transforms/debug-line-table-existing.fir @@ -1,6 +1,6 @@ // RUN: fir-opt --add-debug-info --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: system-linux +// REQUIRES: system-linux || system-aix // Test that there are no changes to a function with existed fused loc debug module { diff --git a/flang/test/Transforms/debug-line-table-inc-file.fir b/flang/test/Transforms/debug-line-table-inc-file.fir index 32c9f515ead4..d29e2fd6683b 100644 --- a/flang/test/Transforms/debug-line-table-inc-file.fir +++ b/flang/test/Transforms/debug-line-table-inc-file.fir @@ -1,6 +1,6 @@ // RUN: fir-opt --add-debug-info="debug-level=LineTablesOnly" --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: system-linux +// REQUIRES: system-linux || system-aix // Test for included functions that have a different debug location than the current file module { diff --git a/flang/test/Transforms/debug-line-table-inc-same-file.fir b/flang/test/Transforms/debug-line-table-inc-same-file.fir index aaa8d03a76ef..5265c79e6117 100644 --- a/flang/test/Transforms/debug-line-table-inc-same-file.fir +++ b/flang/test/Transforms/debug-line-table-inc-same-file.fir @@ -1,6 +1,6 @@ // RUN: fir-opt --add-debug-info --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: system-linux +// REQUIRES: system-linux || system-aix // Test that there is only one FileAttribute generated for multiple functions // in the same file.