[clang] [clang][lit] Fix spirv-tools-err.c when LIT_USE_INTERNAL_SHELL=0 (PR #185876)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 06:28:54 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Tulio Magno Quites Machado Filho (tuliom)
<details>
<summary>Changes</summary>
Only the internal shell parser is able to process an operator in the middle of a command. For the other shells, the operator must appear in the beginning of the line.
---
Full diff: https://github.com/llvm/llvm-project/pull/185876.diff
1 Files Affected:
- (modified) clang/test/Driver/spirv-tools-err.c (+1-1)
``````````diff
diff --git a/clang/test/Driver/spirv-tools-err.c b/clang/test/Driver/spirv-tools-err.c
index c0d36d49c8f8c..e56ceda0346b2 100644
--- a/clang/test/Driver/spirv-tools-err.c
+++ b/clang/test/Driver/spirv-tools-err.c
@@ -5,7 +5,7 @@
// REQUIRES: spirv-registered-target
-// RUN: env PATH='' not %clang -o /dev/null --target=spirv64 --save-temps -v %s 2>&1 | FileCheck %s
+// RUN: not env PATH='' %clang -o /dev/null --target=spirv64 --save-temps -v %s 2>&1 | FileCheck %s
// CHECK: error: cannot find SPIR-V Tools binary 'spirv-as'
// CHECK: error: cannot find SPIR-V Tools binary 'spirv-link'
``````````
</details>
https://github.com/llvm/llvm-project/pull/185876
More information about the cfe-commits
mailing list