OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b474620
)
Add a ${pathsep} variable to lit that expands to : (or ; on win32).
author
Nico Weber
<nicolasweber@gmx.de>
Wed, 21 Mar 2012 19:56:42 +0000
(19:56 +0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Wed, 21 Mar 2012 19:56:42 +0000
(19:56 +0000)
This is in braces so that it doesn't conflict with the existing %p.
It uses braces instead of parens because parens would have to be
regex-escaped.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153213
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/TestRunner.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestRunner.py
b/utils/lit/lit/TestRunner.py
index
e522acb
..
b5f7986
100644
(file)
--- a/
utils/lit/lit/TestRunner.py
+++ b/
utils/lit/lit/TestRunner.py
@@
-471,6
+471,7
@@
def parseIntegratedTestScript(test, normalize_slashes=False,
substitutions.extend([('%s', sourcepath),
('%S', sourcedir),
('%p', sourcedir),
+ ('%{pathsep}', os.pathsep),
('%t', tmpBase + '.tmp'),
('%T', tmpDir),
# FIXME: Remove this once we kill DejaGNU.