changeset 6380:9bc99115d4d6

Small tweaks.
author Bruno Haible <bruno@clisp.org>
date Mon, 17 Oct 2005 10:27:37 +0000
parents f99be30c0a21
children 865e2ea2dde4
files ChangeLog gnulib-tool
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-10-16  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_emit_tests_Makefile_am): Also define
+	TESTS_ENVIRONMENT, so that individual tests can augment it.
+
+	* gnulib-tool (func_create_testdir): Use an intermediate target for
+	building $(BUILT_SOURCES). Needed because BUILT_SOURCES can contain
+	macros, like $(ALLOCA_H), which cannot be passed through the command
+	line.
+
 2005-10-15  Simon Josefsson  <jas@extundo.com>
 
 	* modules/rijndael-tests: New file.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2005-09-20 11:48:17 $'
+cvsdatestamp='$Date: 2005-10-17 10:27:37 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -725,6 +725,7 @@
   echo "ACLOCAL_AMFLAGS = -I ${testsbase_inverse}/${m4base}"
   echo
   echo "TESTS ="
+  echo "TESTS_ENVIRONMENT ="
   echo "noinst_PROGRAMS ="
   echo "EXTRA_DIST ="
   echo "BUILT_SOURCES ="
@@ -1517,7 +1518,8 @@
        cd lib
        built_sources=`grep '^BUILT_SOURCES *=' Makefile.in | sed -e 's/^BUILT_SOURCES *=//'`
        if test -n "$built_sources"; then
-         make $built_sources
+         echo 'built_sources: $(BUILT_SOURCES)' >> Makefile
+         make built_sources
        fi
        cd ..
      make distclean