/[autoconf]/autoconf/lib/autotest/general.m4
ViewVC logotype

Diff of /autoconf/lib/autotest/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.146 by akim, Fri Jun 20 07:53:04 2003 UTC revision 1.147 by akim, Mon Jun 23 15:29:02 2003 UTC
# Line 686  _ATEOF Line 686  _ATEOF
686            ;;            ;;
687          *)          *)
688            # Upon failure, include the log into the testsuite's global            # Upon failure, include the log into the testsuite's global
689            # log.  The failure message is written in the group log and            # log.  The failure message is written in the group log.  It
690            # then included in the global log.            # is later included in the global log.
691            echo "$at_log_msg" >> $at_group_log            echo "$at_log_msg" >> $at_group_log
           cat $at_group_log >&AS_MESSAGE_LOG_FD  
692    
693            # Upon failure, keep the group directory for autopsy, and            # Upon failure, keep the group directory for autopsy, and
694            # create the debugging script.            # create the debugging script.
# Line 819  if test $at_unexpected_count = 0; then Line 818  if test $at_unexpected_count = 0; then
818  else  else
819    echo "ERROR: $at_result" >&2    echo "ERROR: $at_result" >&2
820    echo "ERROR: $at_result" >&AS_MESSAGE_LOG_FD    echo "ERROR: $at_result" >&AS_MESSAGE_LOG_FD
821    if test $at_debug_p = false; then    {
     echo  
     echo 'You may investigate any problem if you feel able to do so, in which'  
     echo 'case the test suite provides a good starting point.'  
822      echo      echo
823      echo 'Failed tests have been logged in the file '$as_me'.log.'      AS_BOX([Summary of the failures.])
824    
825      {      # Summary of failed and skipped tests.
826        if test $at_fail_count != 0; then
827          echo "Failed tests:"
828          $SHELL $[0] $at_fail_list --list
829        echo        echo
830        fi
831        if test $at_skip_count != 0; then
832          echo "Skipped tests:"
833          $SHELL $[0] $at_skip_list --list
834        echo        echo
835        AS_BOX([Summary of the failures.])      fi
836        if test $at_xpass_count != 0; then
837        # Summary of failed and skipped tests.        echo "Unexpected passes:"
838        if test $at_fail_count != 0; then        $SHELL $[0] $at_xpass_list --list
839          echo "Failed tests:"        echo
840          $SHELL $[0] $at_fail_list --list      fi
841          echo      if test $at_fail_count != 0; then
842        fi        AS_BOX([Detailed failed tests.])
843        if test $at_skip_count != 0; then        echo
844          echo "Skipped tests:"        for at_group in $at_fail_list
845          $SHELL $[0] $at_skip_list --list        do
846          echo          # Normalize the test group number.
847        fi          at_group_normalized=`expr "00000$at_group" : ".*\($at_format\)"`
848        if test $at_xpass_count != 0; then          # Create a fresh directory for the next test group, and enter.
849          echo "Unexpected passes:"          at_group_dir=$at_suite_dir/$at_group_normalized
850          $SHELL $[0] $at_xpass_list --list          at_group_log=$at_group_dir/$as_me.log
851          echo          cat $at_group_log
       fi  
       if test -n "$at_top_srcdir"; then  
         AS_BOX([Configuration logs.])  
852          echo          echo
853          for at_file in `find "$at_top_srcdir" -name config.log -print`        done
854          do        echo
855            echo "$as_me: $at_file:"      fi
856            sed 's/^/| /' $at_file      if test -n "$at_top_srcdir"; then
857            echo        AS_BOX([$at_top_builddir/config.log])
858          done        sed 's/^/| /' $at_top_builddir/config.log
859        fi        echo
860      } >&AS_MESSAGE_LOG_FD      fi
861      } >&AS_MESSAGE_LOG_FD
862    
863      AS_BOX([$as_me.log was created.])    AS_BOX([$as_me.log was created.])
864    
865      echo    echo
866      echo "Please send \`$as_me.log' and all information you think might help:"    echo "Please send \`$as_me.log' and all information you think might help:"
867      echo    echo
868      echo "   To: <AT_PACKAGE_BUGREPORT>"    echo "   To: <AT_PACKAGE_BUGREPORT>"
869      echo "   Subject: @<:@AT_PACKAGE_STRING@:>@ $as_me:dnl    echo "   Subject: @<:@AT_PACKAGE_STRING@:>@ $as_me:dnl
870  $at_fail_list${at_fail_list:+ failed${at_xpass_list:+,}}dnl  $at_fail_list${at_fail_list:+ failed${at_xpass_list:+,}}dnl
871  $at_xpass_list${at_xpass_list:+ passed unexpectedly}"  $at_xpass_list${at_xpass_list:+ passed unexpectedly}"
872      echo
873      if test $at_debug_p = false; then
874        echo
875        echo 'You may investigate any problem if you feel able to do so, in which'
876        echo 'case the test suite provides a good starting point.'
877      echo      echo
     exit 1  
878    fi    fi
879        exit 1
880  fi  fi
881    
882  exit 0  exit 0

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26