[flang-commits] [flang] c7c912c - [flang][nfc] Add missing REQUIRES directive in a test

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Sun Dec 31 02:56:12 PST 2023


Author: Andrzej Warzynski
Date: 2023-12-31T10:55:56Z
New Revision: c7c912cff945033918367c4a37121dfc09b9759e

URL: https://github.com/llvm/llvm-project/commit/c7c912cff945033918367c4a37121dfc09b9759e
DIFF: https://github.com/llvm/llvm-project/commit/c7c912cff945033918367c4a37121dfc09b9759e.diff

LOG: [flang][nfc] Add missing REQUIRES directive in a test

Failing bot:
  * https://lab.llvm.org/buildbot/#/builders/21/builds/88731

Failing test was introduced in:
  * https://github.com/llvm/llvm-project/pull/74598

Sending without a review as the fix is straightforward and I want to
prioritize fixing the broken bot and unblocking everyone who's been
affected.

Added: 
    

Modified: 
    flang/test/Driver/func-attr.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Driver/func-attr.f90 b/flang/test/Driver/func-attr.f90
index a29ff21d90374c..7442ac54dcaa5a 100644
--- a/flang/test/Driver/func-attr.f90
+++ b/flang/test/Driver/func-attr.f90
@@ -1,5 +1,7 @@
 ! Test that -mframe-pointer can accept only specific values and when given an invalid value, check it raises an error.
 
+! REQUIRES: aarch64-registered-target
+
 ! RUN: %flang_fc1 -triple aarch64-none-none -mframe-pointer=none -emit-llvm -o - %s 2>&1| FileCheck %s --check-prefix=CHECK-NONEFP
 ! RUN: %flang_fc1 -triple aarch64-none-none -mframe-pointer=non-leaf -emit-llvm -o - %s 2>&1| FileCheck %s --check-prefix=CHECK-NONLEAFFP
 ! RUN: %flang_fc1 -triple aarch64-none-none -mframe-pointer=all -emit-llvm -o - %s 2>&1| FileCheck %s --check-prefix=CHECK-ALLFP


        


More information about the flang-commits mailing list