Commit 984e12ab authored by Jonas Devlieghere's avatar Jonas Devlieghere
Browse files

[lldb/Test] Create reproducer dir if necessary

Create the reproducer directory under the build root if it doesn't
exists. The reproducer will only create the top level directory.
parent bd43fa29
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ if 'LLDB_CAPTURE_REPRODUCER' in os.environ:
lldb_repro_mode = lit_config.params.get('lldb-run-with-repro', None)
if lldb_repro_mode:
  lit_config.note("Running API tests in {} mode.".format(lldb_repro_mode))
  mkdir_p(config.lldb_reproducer_directory)
  if lldb_repro_mode == 'capture':
    config.available_features.add('lldb-repro-capture')
  elif lldb_repro_mode == 'replay':