On Tue, Apr 13, 2010 at 11:56 AM, Yaakov (Cygwin/X) <[email protected]> wrote: > 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.
The advantage of putting it under check_SCRIPTS is that it will definitely get distributed as executable. I'm not sure if it will otherwise. -- Dan _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
