Actually use the arguments with the resolved executable path.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 06:09:13 +0000 (06:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 22 Sep 2009 06:09:13 +0000 (06:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82527 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/TestRunner.py

index 1501d287d9ff12554ea90b4f1873bbc6b48659d8..2995196fe417b3d3894ffa9718530a2672cf5b51 100644 (file)
@@ -110,7 +110,7 @@ def executeShCmd(cmd, cfg, cwd, results):
         if not args[0]:
             raise InternalShellError(j, '%r: command not found' % j.args[0])
 
-        procs.append(subprocess.Popen(j.args, cwd=cwd,
+        procs.append(subprocess.Popen(args, cwd=cwd,
                                       stdin = stdin,
                                       stdout = stdout,
                                       stderr = stderr,