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. |
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 |