Last batch of test-tree cleaning changes
authorPavel Labath <labath@google.com>
Wed, 21 Mar 2018 15:29:32 +0000 (15:29 +0000)
committerPavel Labath <labath@google.com>
Wed, 21 Mar 2018 15:29:32 +0000 (15:29 +0000)
commit292178e10463ad40c73bd86c6783180ddf351586
tree11335b95d4c7d492d038f4f1ca860a7201ac2220
parentbab6ce018fde9a0a9d720b5d0660022bf782e526
Last batch of test-tree cleaning changes

- postmortem tests: make sure the core files are created in the build
  folder
- TestSourceManager: copy the .c file into the build dir before
  modifying it
- TestLogging: create log files in the build folder

After these changes I get a clean test run (on linux) even if I set the
source tree to be read only. It's possible some of the skipped/xfailed
tests are still creating files in the source tree, but at the moment, I
don't have plans to go hunting for those.

llvm-svn: 328106
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py
lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
lldb/packages/Python/lldbsuite/test/logging/TestLogging.py
lldb/packages/Python/lldbsuite/test/source-manager/Makefile
lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py