speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/1] implement testinstall rule


From: Andrei Kholodnyi
Subject: [PATCH 1/1] implement testinstall rule
Date: Mon, 1 Nov 2010 13:13:16 +0100

Chris, could you please drop a look into this patch as well?
It allows to make distcheck without running tests.

On Wed, Sep 29, 2010 at 10:09 PM, Andrei Kholodnyi
<andrei.kholodnyi at gmail.com> wrote:
> make testinstall runs all tests on installation
> ---
> ?Makefile.am ? ? ? ? ? | ? ?3 +++
> ?src/tests/Makefile.am | ? ?5 +----
> ?2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index d4d8378..6657357 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -8,3 +8,6 @@ SUBDIRS= include src config doc po
> ?EXTRA_DIST= ?build.sh
>
> ?MAINTAINERCLEANFILES=configure
> +
> +testinstall: install check
> + ? ? ? cd src/tests && $(MAKE) $(AM_MAKEFLAGS) testinstall
> diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
> index 824808e..f6f39e6 100644
> --- a/src/tests/Makefile.am
> +++ b/src/tests/Makefile.am
> @@ -59,11 +59,8 @@ clean-local:
> ? ? ? ?rm -f *.tmp
> ? ? ? ?rm -f -r autom4te.cache
>
> -check-local: atconfig $(TESTSUITE)
> - ? ? ? $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
> -
> ?# Run the test suite on the *installed* tree.
> -installcheck-local: atconfig $(TESTSUITE)
> +testinstall: atconfig $(TESTSUITE)
> ? ? ? ?$(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
>
> ?CLEANFILES = package.m4
> --
> 1.6.0.4
>
>



-- 
Believe is not enough, you must know



reply via email to

[Prev in Thread] Current Thread [Next in Thread]