From ee6c466ba807fb16f3d37c72ece5ec28fb6c87fc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 9 Feb 2011 17:08:58 +0100 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 7fead3d49..138e72abb 100644 --- a/.gitignore +++ b/.gitignore @@ -76,6 +76,7 @@ /stamp-h1 /tests/*/*.log /tests/t? +/tests/.built-programs /tests/test-suite.log ID Makefile -- cgit v1.2.3-70-g09d2