tests: move runtest.in away from the top-lever directory
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 3 Jan 2013 11:54:07 +0000 (12:54 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 3 Jan 2013 11:57:00 +0000 (12:57 +0100)
Not only this leaves the top-lever directory less cluttered, but
helps in keeping the testsuite-related files more "centralized".

* runtest.in: Move ...
* t/ax/runtest.in: ... here.  While at it, add customary
'@configure_input@' comment line.
* Makefile.am (runtest, EXTRA_DIST): Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am
t/ax/runtest.in [moved from runtest.in with 99% similarity]

index 0c9d8b7..d868501 100644 (file)
@@ -337,7 +337,7 @@ TESTS =
 
 # Some testsuite-influential variables should be overridable from the
 # test scripts, but not from the environment.
-# Keep this in sync with the similar list in 'runtest.in'.
+# Keep this in sync with the similar list in 't/ax/runtest.in'.
 AM_TESTS_ENVIRONMENT = \
   for v in \
     required \
@@ -445,14 +445,14 @@ EXTRA_DIST += t/ax/shell-no-trail-bslash.in
 CLEANFILES += t/ax/shell-no-trail-bslash
 noinst_SCRIPTS += t/ax/shell-no-trail-bslash
 
-runtest: runtest.in Makefile
+runtest: t/ax/runtest.in Makefile
        $(AM_V_at)rm -f $@ $@-t
-       $(AM_V_GEN)in=runtest.in \
+       $(AM_V_GEN)in=t/ax/runtest.in \
          && $(MKDIR_P) t/ax \
-         && $(do_subst) <$(srcdir)/runtest.in >$@-t \
+         && $(do_subst) <$(srcdir)/$$in >$@-t \
          && chmod a+x $@-t
        $(generated_file_finalize)
-EXTRA_DIST += runtest.in
+EXTRA_DIST += t/ax/runtest.in
 CLEANFILES += runtest
 noinst_SCRIPTS += runtest
 
similarity index 99%
rename from runtest.in
rename to t/ax/runtest.in
index 364ba4a..57d16a0 100644 (file)
@@ -1,4 +1,5 @@
 #!@AM_TEST_RUNNER_SHELL@
+# @configure_input@
 #
 # Copyright (C) 2012-2013 Free Software Foundation, Inc.
 #