[clang] [clang] Rewrite tests relying on shell environment variable features (PR #156904)
Aiden Grossman via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 4 09:30:35 PDT 2025
================
@@ -10,7 +8,9 @@
// RUN: echo "@subdir/cfg-s2" > %t/workdir/cfg-1
// RUN: echo "-Wundefined-var-template" > %t/workdir/subdir/cfg-s2
//
-// RUN: ( cd %t && %clang --config=workdir/cfg-1 -c -### %s 2>&1 | FileCheck %s -check-prefix CHECK-REL )
+// RUN: pushd %t
+// RUN: %clang --config=workdir/cfg-1 -c -### %s 2>&1 | FileCheck %s -check-prefix CHECK-REL
+// RUN: popd
//
// CHECK-REL: Configuration file: {{.*}}/workdir/cfg-1
----------------
boomanaiden154 wrote:
Yeah, was just noticing the Windows failures on this PR. I'll get them touched up before landing.
https://github.com/llvm/llvm-project/pull/156904
More information about the cfe-commits
mailing list