[clang] 7d77662 - [clang][lit] Fix spirv-tools-err.c when LIT_USE_INTERNAL_SHELL=0 (#185876)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 07:18:32 PDT 2026
Author: Tulio Magno Quites Machado Filho
Date: 2026-03-11T14:18:26Z
New Revision: 7d77662d19e2f18fdaec9bcb2b841546c4aef26f
URL: https://github.com/llvm/llvm-project/commit/7d77662d19e2f18fdaec9bcb2b841546c4aef26f
DIFF: https://github.com/llvm/llvm-project/commit/7d77662d19e2f18fdaec9bcb2b841546c4aef26f.diff
LOG: [clang][lit] Fix spirv-tools-err.c when LIT_USE_INTERNAL_SHELL=0 (#185876)
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.
Added:
Modified:
clang/test/Driver/spirv-tools-err.c
Removed:
################################################################################
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'
More information about the cfe-commits
mailing list