llvm-project/debuginfo-tests/dexter/dex/utils
Jeremy Morse 0a3b083791 [debuginfo-tests] Warn, not error, if we can't delete working directory
On Windows, an error running the debugger typically leaves a process
hanging around in the working directory. When Dexter exits, it can't then
delete the working directory and produces an exception, masking the problem
in the debugger. (This can be worked around by specifying --save-temps).
Rather than hard-erroring, print a warning when we can't delete the working
directory instead.

It'd be much better to improve our error handling, and make the
WorkingDirectory class aware that something's wrong when it enters exit.
However, this is something that's going to mask genuine errors and make
everyones lives harder right now, so I think this non-ideal fix is
important to get in first.

Differential Revision: https://reviews.llvm.org/D74548
2020-02-25 13:15:07 +00:00
..
posix Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
windows Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
Environment.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
Exceptions.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
ExtArgParse.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
PrettyOutputBase.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
ReturnCode.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
RootDirectory.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
Timer.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
UnitTests.py Fix a brain-fail with debuginfo-tests/dexter internal tests 2019-11-01 12:35:38 +00:00
Version.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
Warning.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00
WorkingDirectory.py [debuginfo-tests] Warn, not error, if we can't delete working directory 2020-02-25 13:15:07 +00:00
__init__.py Reapply "Import Dexter to debuginfo-tests"" 2019-10-31 16:51:53 +00:00