]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid gross inefficiency in "make test"
authorJim Meyering <meyering@redhat.com>
Wed, 9 Feb 2011 16:08:58 +0000 (17:08 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 10 Feb 2011 07:50:14 +0000 (08:50 +0100)
commitee6c466ba807fb16f3d37c72ece5ec28fb6c87fc
tree362428deb747dd3a60fc377655f8ada667d98713
parent5c3fd50a751a93acf5ad7bb69d01261267a53a1e
tests: avoid gross inefficiency in "make test"

Do not run a sub-make to set up the environment for each
and every test script.  Instead, run it just once and store
the result in a file.
* tests/check.mk (built_programs): Remove definition.
(.built-programs): New rule to create the temporary file.
(CLEANFILES): Arrange to remove it.
(TESTS_ENVIRONMENT): Simply cat .built-programs, rather than
running the sub-make.
* .gitignore: Ignore it.
.gitignore
tests/check.mk