maint: tests no longer need to have executable bit set
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 May 2013 10:13:32 +0000 (12:13 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 May 2013 10:13:37 +0000 (12:13 +0200)
It has been a while since they are runnable only through "make check"
or "./runtest", and not directly.

* HACKING: Adjust.
* t/README: Likewise, and updated the surrounding text to get rid of
obsolete statements and advices.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
HACKING
t/README

diff --git a/HACKING b/HACKING
index cebcb72..3ce2e66 100644 (file)
--- a/HACKING
+++ b/HACKING
 
 * Use "make check" and "make maintainer-check" liberally.
 
-* Make sure each test file is executable.
-
 * Export the 'keep_testdirs' environment variable to "yes" to keep
   test directories for successful tests also.
 
index 02cb3a5..60eb7c7 100644 (file)
--- a/t/README
+++ b/t/README
@@ -254,9 +254,9 @@ Writing test cases
   by a C++ compiler, for similar reasons (i.e., the isatty(3) function
   from that same unistd.h header would be required otherwise).
 
-* Before commit: make sure the test is executable, add the tests to
-  TESTS in Makefile.am, add it to XFAIL_TESTS in addition if needed,
-  write a ChangeLog entry, send the diff to <automake-patches@gnu.org>.
+* Add any new test to handwritten_TESTS in 't/list-of-tests.mk', and
+  to XFAIL_TESTS in addition if needed (that is, if the test is expected
+  to fail).
 
 * In test scripts, prefer using POSIX constructs over their old
   Bourne-only equivalents: