[llvm-branch-commits] [llvm] [lit] Delete the external shell (PR #209571)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 15 06:35:34 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] 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")
 



More information about the llvm-branch-commits mailing list