Skip to content

[flang] Fix failing test #97634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Conversation

Leporacanthicus
Copy link
Contributor

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.

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.
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:fir-hlfir labels Jul 3, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 3, 2024

@llvm/pr-subscribers-flang-fir-hlfir

Author: Mats Petersson (Leporacanthicus)

Changes

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.


Full diff: https://github.com/llvm/llvm-project/pull/97634.diff

1 Files Affected:

  • (modified) flang/test/Lower/mcmodel.f90 (+2)
diff --git a/flang/test/Lower/mcmodel.f90 b/flang/test/Lower/mcmodel.f90
index dd9eb145f5e2a..971dc3b9056fe 100644
--- a/flang/test/Lower/mcmodel.f90
+++ b/flang/test/Lower/mcmodel.f90
@@ -1,3 +1,5 @@
+! REQUIRES:  aarch64-registered-target && x86-registered-target
+
 ! RUN: %flang_fc1 -triple aarch64 -emit-llvm -mcmodel=tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY
 ! RUN: %flang_fc1 -emit-llvm -mcmodel=small %s -o - | FileCheck %s -check-prefix=CHECK-SMALL
 ! RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL

@Leporacanthicus Leporacanthicus merged commit b586498 into llvm:main Jul 3, 2024
7 of 9 checks passed
kbluck pushed a commit to kbluck/llvm-project that referenced this pull request Jul 6, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang:fir-hlfir flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants