[Rpm-maint] [PATCH] Do not attempt running the test suite without fakechroot (ticket #851).
Panu Matilainen
pmatilai at laiskiainen.org
Tue Nov 15 09:42:17 UTC 2011
On 11/14/2011 02:11 PM, Ales Kozumplik wrote:
> Partially resolves ticket #851.
> ---
> tests/Makefile.am | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 6f84093..d2b5254 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -99,8 +99,14 @@ testing$(bindir)/rpmbuild: ../rpmbuild
> check_DATA = atconfig atlocal $(TESTSUITE)
> check_DATA += testing$(bindir)/rpmbuild
>
> +if HAVE_FAKECHROOT
> check-local: $(check_DATA)
> $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS) ||:
> +else
> +check-local:
> + echo "you need to have fakechroot installed"
> + exit 1
> +endif !HAVE_FAKECHROOT
>
> installcheck-local: $(check_DATA)
> $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
ACK, that should put the "OMG I have 90 failures in the test suite"
issues to end :)
- Panu -
More information about the Rpm-maint
mailing list