summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/TestRunner.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 01:39:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 01:39:50 +0000
commit6805006d2475c398cc7c7e5aaa1a2c9d1baafb8f (patch)
tree68a5dca7abb5194db5a9f1751c7aa292df30637e /llvm/utils/lit/TestRunner.py
parent1b71307d977fad453414a455ab57592a989d679e (diff)
downloadbcm5719-llvm-6805006d2475c398cc7c7e5aaa1a2c9d1baafb8f.tar.gz
bcm5719-llvm-6805006d2475c398cc7c7e5aaa1a2c9d1baafb8f.zip
tests: Add a %abs_tmp substitution which is guaranteed to be a full path.
llvm-svn: 81662
Diffstat (limited to 'llvm/utils/lit/TestRunner.py')
-rw-r--r--llvm/utils/lit/TestRunner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/lit/TestRunner.py b/llvm/utils/lit/TestRunner.py
index 3e4b2c6cebe..6ed3ce609ed 100644
--- a/llvm/utils/lit/TestRunner.py
+++ b/llvm/utils/lit/TestRunner.py
@@ -294,6 +294,8 @@ def parseIntegratedTestScript(test, xfailHasColon, requireAndAnd):
('%S', os.path.dirname(sourcepath)),
('%p', os.path.dirname(sourcepath)),
('%t', tmpBase + '.tmp'),
+ # FIXME: Remove this once we kill DejaGNU.
+ ('%abs_tmp', tmpBase + '.tmp'),
('#_MARKER_#', '%')])
# Collect the test lines from the script.
OpenPOWER on IntegriCloud