mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:44:46 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user