projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4231656
)
--create-testdir without module names now means to use nearly all modules.
author
Bruno Haible
<bruno@clisp.org>
Thu, 12 Oct 2006 11:43:46 +0000
(11:43 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 12 Oct 2006 11:43:46 +0000
(11:43 +0000)
ChangeLog
patch
|
blob
|
history
gnulib-tool
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index db0abd71a230cdb18fcf98b2ef66c181410cff39..845bfee3ade04767e3bc2b860093b23ec3ea73e4 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,10
@@
+2006-10-11 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_usage): Make module names after --create-testdir
+ optional.
+ (func_create_testdir): If no module was specified, use nearly all
+ modules.
+
2006-10-12 Jim Meyering <jim@meyering.net>
Big performance improvement for fts-based tools that use FTS_NOSTAT.
2006-10-12 Jim Meyering <jim@meyering.net>
Big performance improvement for fts-based tools that use FTS_NOSTAT.
diff --git
a/gnulib-tool
b/gnulib-tool
index 4fb7d5e62ac8012de3e0a1014c4474631973fca4..b4b16711cc0aeb7e62164a7e5addb94c56a4907f 100755
(executable)
--- a/
gnulib-tool
+++ b/
gnulib-tool
@@
-22,7
+22,7
@@
progname=$0
package=gnulib
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2006-10-
07 14:54:51
$'
+cvsdatestamp='$Date: 2006-10-
12 11:43:46
$'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
nl='
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
nl='
@@
-69,7
+69,7
@@
func_usage ()
Usage: gnulib-tool --list
gnulib-tool --import [module1 ... moduleN]
gnulib-tool --update
Usage: gnulib-tool --list
gnulib-tool --import [module1 ... moduleN]
gnulib-tool --update
- gnulib-tool --create-testdir --dir=directory
module1 ... moduleN
+ gnulib-tool --create-testdir --dir=directory
[module1 ... moduleN]
gnulib-tool --create-megatestdir --dir=directory [module1 ... moduleN]
gnulib-tool --test --dir=directory module1 ... moduleN
gnulib-tool --megatest --dir=directory [module1 ... moduleN]
gnulib-tool --create-megatestdir --dir=directory [module1 ... moduleN]
gnulib-tool --test --dir=directory module1 ... moduleN
gnulib-tool --megatest --dir=directory [module1 ... moduleN]
@@
-2054,6
+2054,13
@@
func_create_testdir ()
{
testdir="$1"
modules="$2"
{
testdir="$1"
modules="$2"
+ if test -z "$modules"; then
+ # All modules together.
+ # Except config-h, which breaks all modules which use HAVE_CONFIG_H.
+ # Except fnmatch-posix, which conflicts with fnmatch-gnu. FIXME.
+ modules=`func_all_modules`
+ modules=`for m in $modules; do if test $m != config-h && test $m != fnmatch-posix; then echo $m; fi; done`
+ fi
modules=`for m in $modules; do echo $m; done | LC_ALL=C sort -u`
# Subdirectory names.
modules=`for m in $modules; do echo $m; done | LC_ALL=C sort -u`
# Subdirectory names.