Skip to content

Commit b7730a2

Browse files
karka228llvm-beanz
andauthored
[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@microsoft.com>
1 parent d337f5a commit b7730a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/SemaHLSL/BuiltIns/length-errors.hlsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// 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
1+
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -disable-llvm-passes -verify -verify-ignore-unexpected
2+
23

34
void test_too_few_arg()
45
{

0 commit comments

Comments
 (0)