[test-suite] r259754 - lit: Fix unsupported error case
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 21:15:06 PST 2016
Author: matze
Date: Wed Feb 3 23:15:05 2016
New Revision: 259754
URL: http://llvm.org/viewvc/llvm-project?rev=259754&view=rev
Log:
lit: Fix unsupported error case
Modified:
test-suite/trunk/litsupport/test.py
Modified: test-suite/trunk/litsupport/test.py
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/litsupport/test.py?rev=259754&r1=259753&r2=259754&view=diff
==============================================================================
--- test-suite/trunk/litsupport/test.py (original)
+++ test-suite/trunk/litsupport/test.py Wed Feb 3 23:15:05 2016
@@ -30,7 +30,7 @@ class TestSuiteTest(FileBasedTest):
def execute(self, test, litConfig):
config = test.config
if config.unsupported:
- return (Test.UNSUPPORTED, 'Test is unsupported')
+ return lit.Test.Result(Test.UNSUPPORTED, 'Test is unsupported')
# Parse benchmark script
res = testscript.parse(test.getSourcePath())
More information about the llvm-commits
mailing list