From: Akim Demaille Date: Fri, 17 Aug 2001 14:46:05 +0000 (+0000) Subject: * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not X-Git-Tag: AUTOCONF-2.52d~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=322a8a75e5d44ecc19f53e91554791cd21c429bb;p=thirdparty%2Fautoconf.git * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not `$0.log' as for projects where testsuite is in src, we'd have testsuite.log created in src. --- diff --git a/ChangeLog b/ChangeLog index 32caca347..75ca754e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-08-17 Akim Demaille + + * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not + `$0.log' as for projects where testsuite is in src, we'd have + testsuite.log created in src. + 2001-08-17 Akim Demaille * bin/autom4te.in (&parse_args): Recognize --normalize. diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 5a0c415dc..aaa11055b 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -135,7 +135,7 @@ m4_divert([OPTIONS]) while test $[#] -gt 0; do case $[1] in --help | -h) at_help=: ;; - --version) echo "$[0] ($at_package) $at_version"; exit 0 ;; + --version) echo "$as_me ($at_package) $at_version"; exit 0 ;; -d) at_debug=:;; -e) at_stop_on_error=:;; @@ -220,7 +220,7 @@ fi if $at_debug; then exec 6>/dev/null else - exec 6>$[0].log + exec 6>$as_me.log { AS_BOX([Test suite log for $at_package $at_version]) echo @@ -347,7 +347,7 @@ elif test $at_debug = false; then echo 'case the test suite provides a good starting point.' echo echo 'Now, failed tests will be executed again, verbosely, and logged' - echo 'in the file '$[0]'.log.' + echo 'in the file '$as_me'.log.' { echo @@ -371,11 +371,11 @@ elif test $at_debug = false; then echo } >&6 - $SHELL $[0] -v -d $at_fail_list 2>&1 | tee -a $[0].log - AS_BOX([$[0].log is created]) + $SHELL $[0] -v -d $at_fail_list 2>&1 | tee -a $as_me.log + AS_BOX([$as_me.log is created]) echo - echo "Please send \`$[0].log' to <$at_bugreport> together with all" + echo "Please send \`$as_me.log' to <$at_bugreport> together with all" echo "the information you think might help." exit 1 fi