aboutsummaryrefslogtreecommitdiff
path: root/utils/lit/TestRunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/TestRunner.py')
-rw-r--r--utils/lit/TestRunner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/lit/TestRunner.py b/utils/lit/TestRunner.py
index 5b4538f7d2..20fbc6c13a 100644
--- a/utils/lit/TestRunner.py
+++ b/utils/lit/TestRunner.py
@@ -367,6 +367,8 @@ def parseIntegratedTestScript(test):
execpath = test.getExecPath()
execdir,execbase = os.path.split(execpath)
tmpBase = os.path.join(execdir, 'Output', execbase)
+ if test.index is not None:
+ tmpBase += '_%d' % test.index
# We use #_MARKER_# to hide %% while we do the other substitutions.
substitutions = [('%%', '#_MARKER_#')]