[clang] 1bcec29 - Only run when `arm` is registered. NFC.
Michael Liao via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 06:30:26 PDT 2020
Author: Michael Liao
Date: 2020-10-21T09:30:07-04:00
New Revision: 1bcec29afb321976cdcaa632ee6a47567dd651a7
URL: https://github.com/llvm/llvm-project/commit/1bcec29afb321976cdcaa632ee6a47567dd651a7
DIFF: https://github.com/llvm/llvm-project/commit/1bcec29afb321976cdcaa632ee6a47567dd651a7.diff
LOG: Only run when `arm` is registered. NFC.
Added:
Modified:
clang/test/Driver/arm-float-abi.c
Removed:
################################################################################
diff --git a/clang/test/Driver/arm-float-abi.c b/clang/test/Driver/arm-float-abi.c
index 74ba3fd3bc57..294f02444769 100644
--- a/clang/test/Driver/arm-float-abi.c
+++ b/clang/test/Driver/arm-float-abi.c
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: not %clang %s -target armv7-apple-ios -mfloat-abi=hard 2>&1 | FileCheck -check-prefix=ARMV7-ERROR %s
// RUN: %clang %s -target armv7-apple-ios -mfloat-abi=softfp -### 2>&1 | FileCheck -check-prefix=NOERROR %s
// RUN: %clang %s -arch armv7 -target thumbv7-apple-darwin-eabi -mfloat-abi=hard -### 2>&1 | FileCheck -check-prefix=NOERROR %s
More information about the cfe-commits
mailing list