aboutsummaryrefslogtreecommitdiffstats
path: root/utils/lit/lit/TestRunner.py
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-08-07 12:44:29 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-08-07 12:44:29 +0000
commit8f4aab8c2fe095ce1286fc1bd0bdd9157ed00398 (patch)
tree07c921e440d16134dbdd592b0634770d8343794d /utils/lit/lit/TestRunner.py
parent207600d2cfa2b06bfeb0c1670f198f1aa1a1aa58 (diff)
downloadexternal_llvm-8f4aab8c2fe095ce1286fc1bd0bdd9157ed00398.zip
external_llvm-8f4aab8c2fe095ce1286fc1bd0bdd9157ed00398.tar.gz
external_llvm-8f4aab8c2fe095ce1286fc1bd0bdd9157ed00398.tar.bz2
Lit: Resurrect --no-execute dropped in r187852.
For now, builders in bb.pgr.jp are using it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/lit/TestRunner.py')
-rw-r--r--utils/lit/lit/TestRunner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py
index ecd158b..989a992 100644
--- a/utils/lit/lit/TestRunner.py
+++ b/utils/lit/lit/TestRunner.py
@@ -467,6 +467,9 @@ def executeShTest(test, litConfig, useExternalSh,
script, isXFail, tmpBase, execdir = res
+ if litConfig.noExecute:
+ return (Test.PASS, '')
+
# Create the output directory if it does not already exist.
Util.mkdir_p(os.path.dirname(tmpBase))