[clang] [clang] [test] Skip a test that sets PATH= on Windows (PR #95096)
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 12 05:15:28 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 \
----------------
mstorsjo wrote:
Ok, updated the PR to use `%if !system-windows` instead - tested that it does seem to work as expected here.
https://github.com/llvm/llvm-project/pull/95096
More information about the cfe-commits
mailing list