[clang] c31d213 - [clang][test] Put output into temp directory

Kadir Cetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 5 04:03:53 PDT 2020


Author: Kadir Cetinkaya
Date: 2020-06-05T13:02:32+02:00
New Revision: c31d2134639bb87d6705fe8fb1a46de61bc4cebf

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

LOG: [clang][test] Put output into temp directory

To unbreak builds that happen on a read-only directory

Added: 
    

Modified: 
    clang/test/CodeGen/arm-bf16-softfloat.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/arm-bf16-softfloat.c b/clang/test/CodeGen/arm-bf16-softfloat.c
index 99c122c0f078..5ea7319ec50b 100644
--- a/clang/test/CodeGen/arm-bf16-softfloat.c
+++ b/clang/test/CodeGen/arm-bf16-softfloat.c
@@ -1,4 +1,4 @@
-// RUN: not %clang -target arm-arm-eabi -march=armv8-a+bf16 -mfloat-abi=soft -c %s 2>&1 | FileCheck %s
+// RUN: not %clang -o %t.out -target arm-arm-eabi -march=armv8-a+bf16 -mfloat-abi=soft -c %s 2>&1 | FileCheck %s
 
 // CHECK: error: __bf16 is not supported on this target
 extern __bf16 var;


        


More information about the cfe-commits mailing list