On Jun 15, 2013, at 4:12 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
> REGRESS_OPTS = --inputdir=test --outputdir=test \
> --load-extension=$(EXTENSION)
> ...
> override pg_regress_clean_files = test/results/
> test/regression.diffs test/regression.out tmp_check/ log/
>
>
> That keeps the testing stuff out of the way quite nicely.
I don't suppose there could be a way for the makefile to notice the --outputdir option and add those files to the clean
targetitself, could there? Having it hard-coded is slightly annoying. Maybe it could ask pg_regress where to find them?
Thanks,
David