This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.8] PR testsuite/16602 runtest deletes files in-src-tree
- From: Doug Evans <xdje42 at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 15 Jul 2014 08:19:33 -0700
- Subject: Re: [patch+7.8] PR testsuite/16602 runtest deletes files in-src-tree
- Authentication-results: sourceware.org; auth=none
- References: <20140712210532 dot GA8417 at host2 dot jankratochvil dot net> <53C4F3FC dot 4070601 at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
> Maybe we should just never delete
> these files, even on remote host testing. Dunno. Again,
> there seems to be a pattern here we should apply the same fix
> to everywhere. Looks like it's "whenever we want to download
> a checked-in, non-generated source file".
I can imagine special cases being made to delete large files
(e.g., core files) from the remote host after the test is done.
But I can't think of a reason to not treat all other files (binaries,
shlibs, scripts, whatever) identically.
Thus I'd amend "Looks like it's ..." to be
"Looks like it's any file downloaded to the host."
If that means leaving all such files on the remote host,
fine with me.