Re: tap tests remove working directories
| От | Andrew Dunstan |
|---|---|
| Тема | Re: tap tests remove working directories |
| Дата | |
| Msg-id | 55C630F0.5070606@dunslane.net обсуждение исходный текст |
| Ответ на | Re: tap tests remove working directories (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: tap tests remove working directories
|
| Список | pgsql-hackers |
On 08/08/2015 09:31 AM, Robert Haas wrote: > On Fri, Aug 7, 2015 at 7:17 PM, Andrew Dunstan <andrew@dunslane.net> wrote: >> That certainly isn't what happens, and given the way this is done in >> TestLib.pm, using the CLEANUP parameter of File::Temp's tempdir() function, >> it's not clear how we could do that easily. > <shot-in-the-dark> > > Set cleanup to false and manually remove the directory later in the > code, so that stuff runs only if we haven't died sooner? > > </shot-in-the-dark> > Yeah, maybe. I'm thinking of trying to do it more globally, like in src/Makefile.global.in. That way we wouldn't have to add new code to every test file. cheers andrew
В списке pgsql-hackers по дате отправления: