changeset 16183:928411ca75b9

maint: remove explicit Files: tests/init.sh; depend on test-framework-sh * modules/atexit-tests: Rather than listing tests/init.sh, now that there's a module for it, simply depend on that new module. * modules/closein-tests: Likewise. * modules/exclude-tests: Likewise. * modules/getcwd-tests: Likewise. * modules/perror-tests: Likewise. * modules/pread-tests: Likewise. * modules/pwrite-tests: Likewise. * modules/vc-list-files-tests: Likewise. * modules/verify-tests: Likewise. * modules/xalloc-die-tests: Likewise. * modules/xstrtoimax-tests: Likewise. * modules/xstrtol-tests: Likewise. * modules/xstrtoll-tests: Likewise. * modules/xstrtoumax-tests: Likewise. * modules/yesno-tests: Likewise.
author Jim Meyering <meyering@redhat.com>
date Fri, 23 Dec 2011 12:14:15 +0100
parents 9dbd02efb30b
children 7fafe59c3703
files ChangeLog modules/atexit-tests modules/closein-tests modules/exclude-tests modules/getcwd-tests modules/perror-tests modules/pread-tests modules/pwrite-tests modules/vc-list-files-tests modules/verify-tests modules/xalloc-die-tests modules/xstrtoimax-tests modules/xstrtol-tests modules/xstrtoll-tests modules/xstrtoumax-tests modules/yesno-tests
diffstat 16 files changed, 38 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2011-12-23  Jim Meyering  <meyering@redhat.com>
+
+	maint: remove explicit Files: tests/init.sh; depend on test-framework-sh
+	* modules/atexit-tests: Rather than listing tests/init.sh,
+	now that there's a module for it, simply depend on that new module.
+	* modules/closein-tests: Likewise.
+	* modules/exclude-tests: Likewise.
+	* modules/getcwd-tests: Likewise.
+	* modules/perror-tests: Likewise.
+	* modules/pread-tests: Likewise.
+	* modules/pwrite-tests: Likewise.
+	* modules/vc-list-files-tests: Likewise.
+	* modules/verify-tests: Likewise.
+	* modules/xalloc-die-tests: Likewise.
+	* modules/xstrtoimax-tests: Likewise.
+	* modules/xstrtol-tests: Likewise.
+	* modules/xstrtoll-tests: Likewise.
+	* modules/xstrtoumax-tests: Likewise.
+	* modules/yesno-tests: Likewise.
+
 2011-12-22  Jim Meyering  <meyering@redhat.com>
 
 	test-framework-sh: add minimal tests of init.sh's compare function
--- a/modules/atexit-tests
+++ b/modules/atexit-tests
@@ -1,10 +1,10 @@
 Files:
-tests/init.sh
 tests/signature.h
 tests/test-atexit.sh
 tests/test-atexit.c
 
 Depends-on:
+test-framework-sh
 unistd
 
 configure.ac:
--- a/modules/closein-tests
+++ b/modules/closein-tests
@@ -1,11 +1,11 @@
 Files:
-tests/init.sh
 tests/test-closein.sh
 tests/test-closein.c
 
 Depends-on:
 binary-io
 ignore-value
+test-framework-sh
 
 configure.ac:
 
--- a/modules/exclude-tests
+++ b/modules/exclude-tests
@@ -1,5 +1,4 @@
 Files:
-tests/init.sh
 tests/test-exclude.c
 tests/test-exclude1.sh
 tests/test-exclude2.sh
@@ -11,9 +10,10 @@
 tests/test-exclude8.sh
 
 Depends-on:
-progname
+argmatch
 error
-argmatch
+progname
+test-framework-sh
 
 Makefile.am:
 TESTS += \
--- a/modules/getcwd-tests
+++ b/modules/getcwd-tests
@@ -1,7 +1,6 @@
 Files:
 tests/test-getcwd.c
 tests/test-getcwd.sh
-tests/init.sh
 
 Depends-on:
 errno
@@ -9,6 +8,7 @@
 getcwd-lgpl
 pathmax
 sys_stat
+test-framework-sh
 
 configure.ac:
 
--- a/modules/perror-tests
+++ b/modules/perror-tests
@@ -1,5 +1,4 @@
 Files:
-tests/init.sh
 tests/macros.h
 tests/signature.h
 tests/test-perror.c
@@ -10,6 +9,7 @@
 dup2
 ftruncate
 strerror
+test-framework-sh
 
 configure.ac:
 
--- a/modules/pread-tests
+++ b/modules/pread-tests
@@ -1,11 +1,11 @@
 Files:
 tests/test-pread.c
 tests/test-pread.sh
-tests/init.sh
 tests/signature.h
 tests/macros.h
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 
--- a/modules/pwrite-tests
+++ b/modules/pwrite-tests
@@ -1,11 +1,11 @@
 Files:
 tests/test-pwrite.sh
 tests/test-pwrite.c
-tests/init.sh
 tests/signature.h
 tests/macros.h
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 
--- a/modules/vc-list-files-tests
+++ b/modules/vc-list-files-tests
@@ -1,9 +1,9 @@
 Files:
 tests/test-vc-list-files-git.sh
 tests/test-vc-list-files-cvs.sh
-tests/init.sh
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
--- a/modules/verify-tests
+++ b/modules/verify-tests
@@ -1,9 +1,9 @@
 Files:
 tests/test-verify.c
 tests/test-verify.sh
-tests/init.sh
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 
--- a/modules/xalloc-die-tests
+++ b/modules/xalloc-die-tests
@@ -1,10 +1,10 @@
 Files:
 tests/test-xalloc-die.c
 tests/test-xalloc-die.sh
-tests/init.sh
 
 Depends-on:
 progname
+test-framework-sh
 
 Makefile.am:
 TESTS += test-xalloc-die.sh
--- a/modules/xstrtoimax-tests
+++ b/modules/xstrtoimax-tests
@@ -1,9 +1,9 @@
 Files:
-tests/init.sh
 tests/test-xstrtoimax.c
 tests/test-xstrtoimax.sh
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 
--- a/modules/xstrtol-tests
+++ b/modules/xstrtol-tests
@@ -1,11 +1,11 @@
 Files:
-tests/init.sh
 tests/test-xstrtol.c
 tests/test-xstrtoul.c
 tests/test-xstrtol.sh
 
 Depends-on:
 inttypes
+test-framework-sh
 
 configure.ac:
 
--- a/modules/xstrtoll-tests
+++ b/modules/xstrtoll-tests
@@ -1,5 +1,4 @@
 Files:
-tests/init.sh
 tests/test-xstrtol.c
 tests/test-xstrtoll.c
 tests/test-xstrtoull.c
@@ -7,6 +6,7 @@
 
 Depends-on:
 inttypes
+test-framework-sh
 
 configure.ac:
 
--- a/modules/xstrtoumax-tests
+++ b/modules/xstrtoumax-tests
@@ -1,9 +1,9 @@
 Files:
-tests/init.sh
 tests/test-xstrtoumax.c
 tests/test-xstrtoumax.sh
 
 Depends-on:
+test-framework-sh
 
 configure.ac:
 
--- a/modules/yesno-tests
+++ b/modules/yesno-tests
@@ -1,11 +1,11 @@
 Files:
-tests/init.sh
 tests/test-yesno.c
 tests/test-yesno.sh
 
 Depends-on:
+binary-io
 closein
-binary-io
+test-framework-sh
 
 configure.ac: