[llvm-branch-commits] [libcxx] [llvm] [lit] Delete the external shell (PR #209571)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 16 18:49:19 PDT 2026
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/209571
>From 83ef68f3eaa2c43547367874d1900b8c6e484e09 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 14 Jul 2026 20:49:55 +0000
Subject: [PATCH 1/2] formatting
Created using spr 1.3.7
---
llvm/utils/lit/lit/TestRunner.py | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index 015cc774c3230..da5b56ede0529 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -1736,9 +1736,7 @@ def runOnce(
scriptCopy[i] = command
try:
- res = executeScriptInternal(
- test, litConfig, tmpBase, scriptCopy, execdir
- )
+ res = executeScriptInternal(test, litConfig, tmpBase, scriptCopy, execdir)
except ScriptFatal as e:
out = f"# " + "\n# ".join(str(e).splitlines()) + "\n"
return out, "", 1, None, Test.UNRESOLVED, None
@@ -1796,9 +1794,8 @@ def runOnce(
test_updater_outputs=test_updates,
)
-def executeShTest(
- test, litConfig, extra_substitutions=[], preamble_commands=[]
-):
+
+def executeShTest(test, litConfig, extra_substitutions=[], preamble_commands=[]):
if test.config.unsupported:
return lit.Test.Result(Test.UNSUPPORTED, "Test is unsupported")
>From 3aed01bb13e3f9c56e3df39baa0750f395884244 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 17 Jul 2026 01:49:08 +0000
Subject: [PATCH 2/2] fix
Created using spr 1.3.7
---
libcxx/utils/libcxx/test/format.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libcxx/utils/libcxx/test/format.py b/libcxx/utils/libcxx/test/format.py
index ce90a838ac370..306fae764dc0f 100644
--- a/libcxx/utils/libcxx/test/format.py
+++ b/libcxx/utils/libcxx/test/format.py
@@ -384,9 +384,7 @@ def _executeShTest(self, test, litConfig, steps):
)
else:
_, tmpBase = _getTempPaths(test)
- return lit.TestRunner._runShTest(
- test, litConfig, script, tmpBase
- )
+ return lit.TestRunner._runShTest(test, litConfig, script, tmpBase)
def _generateGenTest(self, testSuite, pathInSuite, litConfig, localConfig):
generator = lit.Test.Test(testSuite, pathInSuite, localConfig)
More information about the llvm-branch-commits
mailing list