[test-suite] r333710 - Make compatible with upstream lit

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 16:40:11 PDT 2018


Author: cmatthews
Date: Thu May 31 16:40:11 2018
New Revision: 333710

URL: http://llvm.org/viewvc/llvm-project?rev=333710&view=rev
Log:
Make compatible with upstream lit

New lit now returns a 5 tuple.  Lets not unpack directly anymore, so
we can support both versions.

Modified:
    test-suite/trunk/litsupport/testplan.py

Modified: test-suite/trunk/litsupport/testplan.py
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/litsupport/testplan.py?rev=333710&r1=333709&r2=333710&view=diff
==============================================================================
--- test-suite/trunk/litsupport/testplan.py (original)
+++ test-suite/trunk/litsupport/testplan.py Thu May 31 16:40:11 2018
@@ -69,7 +69,10 @@ def _executeScript(context, script, scri
         exitCode = 1
         timeoutInfo = None
     else:
-        (out, err, exitCode, timeoutInfo) = res
+        out = res[0]
+        err = res[1]
+        exitCode = res[2]
+        timeoutInfo = res[3]
 
     # Log script in test output
     context.result_output += "\n" + "\n".join(script)




More information about the llvm-commits mailing list