diff --git a/flang/test/Lower/module-debug-file-loc-linux.f90 b/flang/test/Lower/module-debug-file-loc-linux.f90 --- 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: linux +! REQUIRES: system-linux subroutine sb1() end subroutine diff --git a/flang/test/Transforms/debug-line-table-existing.fir b/flang/test/Transforms/debug-line-table-existing.fir --- a/flang/test/Transforms/debug-line-table-existing.fir +++ b/flang/test/Transforms/debug-line-table-existing.fir @@ -1,9 +1,9 @@ // RUN: fir-opt --add-debug-foundation --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: linux +// REQUIRES: system-linux // Test that there are no changes to a function with existed fused loc debug -module { +module attributes {} { func.func @_QPs1() { return loc(#loc1) } loc(#loc2) @@ -17,11 +17,6 @@ #di_subprogram = #llvm.di_subprogram #loc2 = loc(fused<#di_subprogram>[#loc1]) -module { - func.func @_QPs1() { - return loc(#loc1) - } loc(#loc2) -} loc(#loc) // CHECK: #loc = loc("/home/user01/llvm-project/build_release/simple.f90":0:0) // CHECK: #loc1 = loc("/home/user01/llvm-project/build_release/simple.f90":1:1) // CHECK: #di_subprogram = #llvm.di_subprogram diff --git a/flang/test/Transforms/debug-line-table-inc-file.fir b/flang/test/Transforms/debug-line-table-inc-file.fir --- 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-foundation --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: linux +// REQUIRES: system-linux // Test for included functions that have a different debug location than the current file module attributes {} { diff --git a/flang/test/Transforms/debug-line-table-inc-same-file.fir b/flang/test/Transforms/debug-line-table-inc-same-file.fir --- 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-foundation --mlir-print-debuginfo %s | FileCheck %s -// REQUIRES: linux +// REQUIRES: system-linux // Test that there is only one FileAttribute generated for multiple functions // in the same file.