mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
lit: Fix OneCommandPerFileTest format when tests are specified directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b14c699fe0
commit
473a09d80a
@ -183,8 +183,10 @@ class OneCommandPerFileTest:
|
||||
self.createTempInput(tmp, test)
|
||||
tmp.flush()
|
||||
cmd.append(tmp.name)
|
||||
else:
|
||||
elif hasattr(test, 'source_path'):
|
||||
cmd.append(test.source_path)
|
||||
else:
|
||||
cmd.append(test.getSourcePath())
|
||||
|
||||
out, err, exitCode = TestRunner.executeCommand(cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user