projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14c699
)
lit: Fix OneCommandPerFileTest format when tests are specified directly.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 12 May 2010 17:56:44 +0000
(17:56 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 12 May 2010 17:56:44 +0000
(17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103626
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/TestFormats.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestFormats.py
b/utils/lit/lit/TestFormats.py
index 5e1a811e6c7728b2da2ec34bfe5679df473b813a..e52d0e4e1c7c855e6060f198b38c9790fcde9e1c 100644
(file)
--- a/
utils/lit/lit/TestFormats.py
+++ b/
utils/lit/lit/TestFormats.py
@@
-183,8
+183,10
@@
class OneCommandPerFileTest:
self.createTempInput(tmp, test)
tmp.flush()
cmd.append(tmp.name)
- el
se
:
+ el
if hasattr(test, 'source_path')
:
cmd.append(test.source_path)
+ else:
+ cmd.append(test.getSourcePath())
out, err, exitCode = TestRunner.executeCommand(cmd)