[clang] b7730a2 - [test] Avoid writing to a potentially write-protected dir (#102073)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 00:57:36 PDT 2024
Author: Karl-Johan Karlsson
Date: 2024-08-06T09:57:31+02:00
New Revision: b7730a23efb222944b732bbdb3a7b965b7bffd98
URL: https://github.com/llvm/llvm-project/commit/b7730a23efb222944b732bbdb3a7b965b7bffd98
DIFF: https://github.com/llvm/llvm-project/commit/b7730a23efb222944b732bbdb3a7b965b7bffd98.diff
LOG: [test] Avoid writing to a potentially write-protected dir (#102073)
The test length-errors.hlsl don't check the output written to the
current directory. The current directory may be write protected e.g. in
a sandboxed environment.
This patch simply remove the -emit-llvm option as this testcase don't
care about the outputed llvm IR.
Co-authored-by: Chris B <cbieneman at microsoft.com>
Added:
Modified:
clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
Removed:
################################################################################
diff --git a/clang/test/SemaHLSL/BuiltIns/length-errors.hlsl b/clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
index fe0046a2ab5a1..281faada6f5e9 100644
--- a/clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
+++ b/clang/test/SemaHLSL/BuiltIns/length-errors.hlsl
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -disable-llvm-passes -verify -verify-ignore-unexpected
+
void test_too_few_arg()
{
More information about the cfe-commits
mailing list