aboutsummaryrefslogtreecommitdiff
path: root/utils/test/MultiTestRunner.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 12:05:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 12:05:55 +0000
commitfecdd00619c0893e9da0e9e53fe507012f1cdce4 (patch)
treeeefbd8b7c5ad34564957dc9584c7cc409e53c89b /utils/test/MultiTestRunner.py
parent9f9fbd66fa5fded23bb243142313633788cb2a8c (diff)
MultiTestRunner: Always use absolute path names for tests.
Also, fix a function name I forgot to update. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/test/MultiTestRunner.py')
-rwxr-xr-xutils/test/MultiTestRunner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/test/MultiTestRunner.py b/utils/test/MultiTestRunner.py
index 41cf537143..dcf9d89ebb 100755
--- a/utils/test/MultiTestRunner.py
+++ b/utils/test/MultiTestRunner.py
@@ -23,6 +23,8 @@ kTestFileExtensions = set(['.mi','.i','.c','.cpp','.m','.mm','.ll'])
def getTests(inputs):
for path in inputs:
+ # Always use absolte paths.
+ path = os.path.abspath(path)
if not os.path.exists(path):
print >>sys.stderr,"WARNING: Invalid test \"%s\""%(path,)
continue