]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Small bug fixes for the test suite.
authorJannick <thirdedition@gmx.net>
Mon, 7 Dec 2020 16:28:57 +0000 (11:28 -0500)
committerZack Weinberg <zackw@panix.com>
Mon, 7 Dec 2020 16:28:57 +0000 (11:28 -0500)
* tests/atlocal.in: Also set AWK to value detected by configure.
  Alphabetize list of shell variables set by config.status.
* tests/local.mk: Add a rule to recreate tests/atconfig when
  config.status changes.

tests/atlocal.in
tests/local.mk

index 079e35c61f737d1acfd098e7a006984e70dd5240..3c436cd9394a860e18cf6a5fd7fdbba3c3f24f1a 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
-PERL='@PERL@'
-GREP='@GREP@'
+AWK='@AWK@'
 EGREP='@EGREP@'
+GREP='@GREP@'
+PERL='@PERL@'
 SED='@SED@'
 
 # We need to know if sh -n is ok.
index f712b5317fcdfb6fa08e5da89256ad8f564756bc..df5551ba96fff4ae68bb42ec7861c11307ad76f6 100644 (file)
@@ -160,6 +160,11 @@ clean-local:
 check-local: tests/atconfig tests/atlocal $(TESTSUITE)
        +$(run_testsuite) $(TESTSUITEFLAGS)
 
+# Automake doesn't know how to regenerate this file because
+# it's created via AC_CONFIG_COMMANDS.
+tests/atconfig: $(top_builddir)/config.status
+       cd $(top_builddir) && $(SHELL) ./config.status $@
+
 # Run the test suite on the *installed* tree.
 installcheck-local: tests/atconfig tests/atlocal $(TESTSUITE)
        +$(run_testsuite) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)