texinfo-devel
[Top][All Lists]
Advanced

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

Re: texi2html tests are huge


From: Patrice Dumas
Subject: Re: texi2html tests are huge
Date: Sat, 14 Jan 2012 23:22:48 +0100
User-agent: Mutt/1.4.2.2i

On Sun, Jan 08, 2012 at 09:23:16AM +0100, Stefano Lattarini wrote:
> 
>   $ cat Makefile.am
>   basic_TESTS = foo.test bar.test
>   more_TESTS = zardoz.test
>   # Only the basic tests will be run by "make check" by default.
>   TESTS = $(basic_TESTS)
>   # But make it easy for the developers to run all the tests with
>   # a simple "make check-all".
>   all_TESTS = $(basic_TESTS) $(more_TESTS)
>   check-all: all
>       $(MAKE) $(AM_MAKEFLAGS) TESTS='$(all_TESTS)' check

I used that, and it worked, but in a subdirectory there was a
difficulty since TESTS has to be the same than in the parent
directory.  So I use a wrapper script in the subdirectory.

More precisely, in the parent directory the test script is
long_tests.sh and in the Makefile.am there is:

   long_TESTS = long_tests.sh

   long-check: all
           $(MAKE) $(AM_MAKEFLAGS) TESTS='$(long_TESTS)' check

In the subdirectory (many_input_files/), the Makefile.am excerpt is

   long_TESTS = tex_l2h.sh tex_t4ht.sh

   long-check: all
           $(MAKE) $(AM_MAKEFLAGS) TESTS='$(long_TESTS)' check

with a wrapper script in the subdirectory, also called long_tests.sh
which simply calls:

   make long-test

-- 
Pat



reply via email to

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