From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Kohei Kaigai <Kohei(dot)Kaigai(at)emea(dot)nec(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Environment checks prior to regression tests? |
Date: | 2011-07-21 12:35:40 |
Message-ID: | CA+TgmoY2dWpZzTDXJDBy9pQSyd+mSCin8A8fUGWC8Mgtv=rmcA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jul 21, 2011 at 6:16 AM, Kohei Kaigai <Kohei(dot)Kaigai(at)emea(dot)nec(dot)com> wrote:
> How about an idea that allows to launch environment checker (typically shell scripts) prior
> to regression tests?
>
> The following stuffs should be preconfigured to run sepgsql's regression test.
> - SELinux must be run and configured to enforcing mode.
> - The sepgsql-regtest policy module must be loaded.
> - The boolean of sepgsql_regression_test_mode must be turned on.
> - The psql command should be labeled as 'bin_t'
>
> If checkinstall optionally allows to launch an environment checker on regression test,
> we may be possible to suggest users to fix up their configuration. It seems to me quite
> helpful.
>
> For example, one idea is to inject a dummy variable (mostly, initialized to empty) as
> dependency of installcheck, being available to overwrite in Makefile of contrib, as follows:
>
> # against installed postmaster
> installcheck: submake $(REGRESS_PRE)
> $(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS)
Seems reasonable.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-07-21 12:59:45 | timing for 9.1beta4 / rc1 |
Previous Message | Hannu Krosing | 2011-07-21 11:55:58 | Re: Commitfest Status: Sudden Death Overtime |