[clang] f91b9c0 - Run test on particular target only

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 06:27:19 PDT 2020


Author: Serge Pavlov
Date: 2020-09-26T20:26:34+07:00
New Revision: f91b9c0f9858bb3d6ff4dd1fb494e83633eefed8

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

LOG: Run test on particular target only

The test `AST/const-fpfeatures-diag.c` requires setting strict FP
semantics, so it fails on targets where support of such semantic
is limited.

Added: 
    

Modified: 
    clang/test/AST/const-fpfeatures-diag.c

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/const-fpfeatures-diag.c b/clang/test/AST/const-fpfeatures-diag.c
index c957459c05a5..d0408dae3663 100644
--- a/clang/test/AST/const-fpfeatures-diag.c
+++ b/clang/test/AST/const-fpfeatures-diag.c
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -verify -ffp-exception-behavior=strict -Wno-unknown-pragmas %s
 
+// REQUIRES: x86-registered-target
+
 #pragma STDC FENV_ROUND FE_DYNAMIC
 
 // nextUp(1.F) == 0x1.000002p0F


        


More information about the cfe-commits mailing list