[PATCH macros] Add a test suite

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Tue Apr 13 11:56:35 PDT 2010


On 2010-04-13 13:46, Gaetan Nadon wrote:
> Have you had a look at Automake Test Suite support? (I haven't yet)
> http://www.gnu.org/software/automake/manual/automake.html#index-g_t_0040code_007bmkdir-_002dp_007d_002c-macro-check-325
>
> It looks like there could be some benefits from the pre-defined "check"
> primary variable prefix.

Do you mean:

dist_check_SCRIPTS = test/runtest
TESTS = $(dist_check_SCRIPTS)

You still need two lines, one to run the test and one to dist the 
script.  I think TESTS and EXTRA_DIST is a slightly better combination, 
only because EXTRA_DIST may be used for other files in the future. 
Otherwise I see no difference.


Yaakov
Cygwin/X


More information about the xorg-devel mailing list