[test-suite] r251893 - cmake/lit: Use external shell

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 18:47:02 PST 2015


Author: matze
Date: Mon Nov  2 20:47:02 2015
New Revision: 251893

URL: http://llvm.org/viewvc/llvm-project?rev=251893&view=rev
Log:
cmake/lit: Use external shell

Modified:
    test-suite/trunk/lit.cfg

Modified: test-suite/trunk/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/lit.cfg?rev=251893&r1=251892&r2=251893&view=diff
==============================================================================
--- test-suite/trunk/lit.cfg (original)
+++ test-suite/trunk/lit.cfg Mon Nov  2 20:47:02 2015
@@ -5,7 +5,7 @@ import os, glob, re
 import shlex
 import pipes
 from lit.formats import FileBasedTest
-from lit.TestRunner import executeScriptInternal, parseIntegratedTestScriptCommands, getDefaultSubstitutions, applySubstitutions, getTempPaths
+from lit.TestRunner import executeScript, executeScriptInternal, parseIntegratedTestScriptCommands, getDefaultSubstitutions, applySubstitutions, getTempPaths
 from lit import Test
 from lit.util import to_bytes, to_string
 try:
@@ -72,7 +72,7 @@ def collectCompileTime(test):
                 compile_time += getUserTimeFromTimeOutput(os.path.join(path, file))
     return compile_time
 
-def runScript(test, litConfig, script, tmpBase, useExternalSh = False):
+def runScript(test, litConfig, script, tmpBase, useExternalSh = True):
     execdir = os.path.dirname(test.getExecPath())
     if useExternalSh:
         res = executeScript(test, litConfig, tmpBase, script, execdir)




More information about the llvm-commits mailing list