Skip to content

Commit b586498

Browse files
[flang] Fix failing test (#97634)
Add requires line to not test when the target architecture isn't supported. Technically we could make it a bit less restrictive, but want green builds.
1 parent a3c5c83 commit b586498

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flang/test/Lower/mcmodel.f90

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
! REQUIRES: aarch64-registered-target && x86-registered-target
2+
13
! RUN: %flang_fc1 -triple aarch64 -emit-llvm -mcmodel=tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY
24
! RUN: %flang_fc1 -emit-llvm -mcmodel=small %s -o - | FileCheck %s -check-prefix=CHECK-SMALL
35
! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL

0 commit comments

Comments
 (0)