[clang] [test][AArch64] Fix test in non-writeable dir (PR #119448)
Jordan Rupprecht via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 10 12:09:22 PST 2024
https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/119448
cc1a2ea61e3f8e790125b10d9ec4e7d179156ddf adds a test which can fail if the output directory is not writeable. Following the pattern of other tests in this package, use `-o -` to print the IR to stdout instead of to a file.
>From b9164f9881f9578190657cc8d21a74dd32ab106c Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Tue, 10 Dec 2024 12:06:19 -0800
Subject: [PATCH] [test][AArch64]
cc1a2ea61e3f8e790125b10d9ec4e7d179156ddf adds a test which can fail if the output directory is not writeable. Following the pattern of other tests in this package, use `-o -` to print the IR to stdout instead of to a file.
---
clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
index aafd42f798d935..2e94c2314f1824 100644
--- a/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
+++ b/clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_fp8.c
@@ -1,6 +1,6 @@
// REQUIRES: aarch64-registered-target
-// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -verify -emit-llvm %s
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -verify -emit-llvm -o - %s
#include <arm_sve.h>
More information about the cfe-commits
mailing list