[PATCH] D33579: Return a lit.Test.Result object from TestRunner's executeShTest()
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 16:57:00 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL303943: Return a lit.Test.Result object from TestRunner's executeShTest() (authored by dim).
Changed prior to commit:
https://reviews.llvm.org/D33579?vs=100340&id=100342#toc
Repository:
rL LLVM
https://reviews.llvm.org/D33579
Files:
llvm/trunk/utils/lit/lit/TestRunner.py
Index: llvm/trunk/utils/lit/lit/TestRunner.py
===================================================================
--- llvm/trunk/utils/lit/lit/TestRunner.py
+++ llvm/trunk/utils/lit/lit/TestRunner.py
@@ -1056,7 +1056,7 @@
def executeShTest(test, litConfig, useExternalSh,
extra_substitutions=[]):
if test.config.unsupported:
- return (Test.UNSUPPORTED, 'Test is unsupported')
+ return lit.Test.Result(Test.UNSUPPORTED, 'Test is unsupported')
script = parseIntegratedTestScript(test)
if isinstance(script, lit.Test.Result):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33579.100342.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170525/abb1f0f7/attachment.bin>
More information about the llvm-commits
mailing list