diff options
-rw-r--r-- | test/lib/llvm.exp | 2 | ||||
-rw-r--r-- | utils/lit/TestRunner.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index a8eec3a..f5ec6f3 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -85,6 +85,8 @@ proc substitute { line test tmpFile } { regsub -all {%s} $new_line $test new_line #replace %t with temp filenames regsub -all {%t} $new_line $tmpFile new_line + #replace %abs_tmp with absolute temp filenames + regsub -all {%abs_tmp} $new_line [file join [pwd] $tmpFile] new_line #replace _#MARKER#_ with % regsub -all {_#MARKER#_} $new_line % new_line diff --git a/utils/lit/TestRunner.py b/utils/lit/TestRunner.py index 3e4b2c6..6ed3ce6 100644 --- a/utils/lit/TestRunner.py +++ b/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. |