summaryrefslogtreecommitdiff
path: root/tests/Makefile.am.in
AgeCommit message (Collapse)Author
2007-01-13Put CU_TEST_NAME in the environment for each test run by "make check".Jim Meyering
* Transform all Makefile.am files so that when running "make check", CU_TEST_NAME is set to the name of the test. This is so that when I run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check" on the entire package it is more convenient to map a leak or error found in a valgrind log file back to the offending test. Use this command: (echo tests/Makefile.am.in; find tests -name Makefile.am) \ |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \ -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
2006-08-19Some of my 2006-07-03 changes to tests/*/Makefile.am were beingJim Meyering
backed out due to updates provoked by the copyright changes. * tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that it propagates to the derived Makefile.am files. ($(srcdir)/Makefile.am): Mark generated .am files as read-only, so we don't mistakenly edit them again. * tests/cut/Makefile.am: Regenerate. * tests/head/Makefile.am: Likewise. * tests/join/Makefile.am: Likewise. * tests/pr/Makefile.am: Likewise. * tests/sort/Makefile.am: Likewise. * tests/tac/Makefile.am: Likewise. * tests/tail/Makefile.am: Likewise. * tests/test/Makefile.am: Likewise. * tests/tr/Makefile.am: Likewise. * tests/uniq/Makefile.am: Likewise. * tests/wc/Makefile.am: Likewise.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2004-05-31(TESTS_ENVIRONMENT): Define PATH to includeJim Meyering
the build src/ directory -- at the front. ($(srcdir)/$x-tests): Depend on Makefile.am. Use $x as the program name, except when it would be `test' (test is the sole program tested via mk-script that is also a shell built-in). In that case, use the old ../../src/$x.
2004-02-11($(srcdir)/Makefile.am): Use more portableJim Meyering
$(srcdir)/../Makefile.am.in, rather than $<. Suggestion from Michael Elizabeth Chastain.
2003-10-18($(srcdir)/$x-tests): Pass $(srcdir) as first argument of mk-script.Jim Meyering
($(srcdir)/Makefile.am): Likewise. Prepend $(srcdir) to target.
2003-04-15Use $(VAR) rather than @VAR@, now that we can rely on automake toJim Meyering
emit a definition for each substituted variable. Remove definition of PERL.
2000-08-03($(srcdir)/$x-tests): Use -I$(srcdir), not `-I.'.Jim Meyering
(Makefile.am): Likewise. Reported by Greg McGary.
1998-06-18(check): Depend on $(maint_gen) soJim Meyering
`make maintainer-clean; ./configure; make check' works.
1998-05-03Use `-I.' with each invocation of $(PERL).Jim Meyering
perl-5.004_xx comes with a Test.pm module that'd be used otherwise.
1998-03-31(EXTRA_DIST): Remove mk-script.pl.Jim Meyering
(mk_script): Set to ../mk-script. (x-tests): Use `$(PERL) -w -- $(mk_script)', not ./mk-script. Remove @MAINT@ cruft. (Makefile.am): Likewise. Remove @MAINT@ cruft. Now `missing' will explain the failure when people don't have Perl yet modify a file whose rebuilding would lead to the use of Perl.
1997-02-03.Jim Meyering