Skip to content

Commit a940126

Browse files
karka228llvm-beanz
andcommitted
[test] Avoid writing to a potentially write-protected dir
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 remove the -emit-llvm option as these testcases don't care about the outputed llvm IR. Co-authored-by: Chris B <[email protected]>
1 parent 37d7b06 commit a940126

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)