Skip to content

Commit ba70f0e

Browse files
committed
Handle review comments.
Put the check for aix only around dwarf5 tests. This way rest of the tests run for aix too.
1 parent d25ca7b commit ba70f0e

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

flang/test/Driver/flang-dwarf-version.f90

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
// UNSUPPORTED: target={{.*}}-aix{{.*}}
1+
// RUN: %if !target={{.*aix.*}} %{ \
22
// RUN: %flang -### -S %s -g -gdwarf-5 2>&1 \
3-
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s
3+
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s \
4+
// RUN: %}
5+
6+
// RUN: %if !target={{.*aix.*}} %{ \
47
// RUN: %flang -### -S %s -gdwarf-5 2>&1 \
5-
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s
8+
// RUN: | FileCheck --check-prefix=CHECK-DWARF5 %s \
9+
// RUN: %}
10+
11+
// RUN: %if !target={{.*aix.*}} %{ \
612
// RUN: %flang -### -S %s -g1 -gdwarf-5 2>&1 \
7-
// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
13+
// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s \
14+
// RUN: %}
15+
816
// RUN: %flang -### -S %s -gdwarf-4 2>&1 \
917
// RUN: | FileCheck --check-prefix=CHECK-DWARF4 %s
1018
// RUN: %flang -### -S %s -gdwarf-3 2>&1 \

flang/test/Integration/debug-dwarf-flags.f90

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
! UNSUPPORTED: target={{.*}}-aix{{.*}}
1+
! RUN: %if !target={{.*aix.*}} %{ \
22
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=5 %s \
3-
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF5 %s
3+
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \
4+
! RUN: %}
5+
6+
! RUN: %if !target={{.*aix.*}} %{ \
47
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=line-tables-only -dwarf-version=5 \
5-
! RUN: %s -o - | FileCheck --check-prefix=CHECK-DWARF5 %s
8+
! RUN: %s -o - | FileCheck --check-prefix=CHECK-DWARF5 %s \
9+
! RUN: %}
10+
611
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=4 %s \
712
! RUN: -o - | FileCheck --check-prefix=CHECK-DWARF4 %s
813
! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone -dwarf-version=3 %s \

0 commit comments

Comments
 (0)