[clang] [clang] [test] Skip a test that sets PATH= on Windows (PR #95096)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 11 09:12:14 PDT 2024


================
@@ -77,13 +77,3 @@
 
 // XTOR: {{llvm-spirv.*"}}
 // BACKEND-NOT: {{llvm-spirv.*"}}
-
-//-----------------------------------------------------------------------------
-// Check llvm-spirv-<LLVM_VERSION_MAJOR> is used if it is found in PATH.
-// RUN: mkdir -p %t/versioned
-// RUN: touch %t/versioned/llvm-spirv-%llvm-version-major \
-// RUN:   && chmod +x %t/versioned/llvm-spirv-%llvm-version-major
-// RUN: env "PATH=%t/versioned" %clang -### --target=spirv64 -x cl -c %s 2>&1 \
----------------
MaskRay wrote:

Instead of creating a file, consider `%if !system-windows` 

https://github.com/llvm/llvm-project/pull/95096


More information about the cfe-commits mailing list