Author: Jonas Devlieghere Date: 2020-07-14T16:17:53-07:00 New Revision: 984e12ab48cdb5d81d0e994e1e0baca9cc3037a1
URL: https://github.com/llvm/llvm-project/commit/984e12ab48cdb5d81d0e994e1e0baca9cc3037a1 DIFF: https://github.com/llvm/llvm-project/commit/984e12ab48cdb5d81d0e994e1e0baca9cc3037a1.diff LOG: [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. Added: Modified: lldb/test/API/lit.cfg.py Removed: ################################################################################ diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 57e7509a9f7e..a211abe6cc41 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -124,6 +124,7 @@ def find_python_interpreter(): 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': _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits