forked from OSchip/llvm-project
[lldb/Test] Create dir if it doesn't yet exist in getReproducerArtifact
The type test use this method to store the golden output. This currently fails if the reproducer directory hasn't yet been created.
This commit is contained in:
parent
993c43aea5
commit
e4a84590e8
|
@ -696,6 +696,7 @@ class Base(unittest2.TestCase):
|
|||
return os.path.join(self.getSourceDir(), name)
|
||||
|
||||
def getReproducerArtifact(self, name):
|
||||
lldbutil.mkdir_p(self.getReproducerDir())
|
||||
return os.path.join(self.getReproducerDir(), name)
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue