autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird testsuite problems


From: Pavel Roskin
Subject: Weird testsuite problems
Date: Sun, 4 Mar 2001 03:00:24 -0500 (EST)

Hello, Akim!

I prefer not to post messages without full understanding of the problem,
but since you may release 2.49d at any time I want to warn you not to do
so.

There is something wrong with the testsuite. When I said that I tested
Autoconf with pdksh I meant that CONFIG_SHELL was set to pdksh.

However, pdksh-5.2.14 cannot run the testsuite. It hangs before doing
anything else and exits only few seconds after I send it SIGTERM.

Similar problem exist with zsh. The only difference is that zsh can
be interrupted by Ctrl-C.

I remember running the testsuite with /bin/sh being pdksh with no problems
at all.

In fact, pdksh and zsh hang even when run with "-n"

Now, if I use bash-1.14.7 or bash-2.03 I'm getting this:

---------------------------------------------------------------
====================================
Testing suite for GNU Autoconf 2.49d
====================================

Some tests might be skipped if you don't have the software which the
macros check (e.g., a Fortran compiler).

: warning: no at-check-line which means a failure happened
: warning: in a AT_SETUP/AT_CLEANUP pair before any
: warning:
: ./suite.at:9:
echo suite.at:9 >at-check-line
( ;  ) >at-stdout 2>at-stder1
at_status=0
egrep '^ *\+' at-stder1 >&2
egrep -v '^ *\+' at-stder1 >at-stderr
at_failed=false
diff -u empty  at-stderr >&5 || at_failed=:
diff -u empty  at-stdout >&5 || at_failed=:
case 0 in
   77) exit 77;;
   0) ;;
   *) : ./suite.at:9: exit code was 0, expected 0 >&2
      at_failed=:;;
esac

 && exit 1

 could be run.  This test suite is
: warning: improperly designed, please report to
: warning: <address@hidden>.

Executables (autoheader, autoupdate...).
---------------------------------------------------------------

and the suite goes on. `at-check-line' must not exist for this to
happen.

The colon before "warning" comes from "am_me" (search atgeneral.m4 for
am_me), which obvoiusly should be "as_me", and the garbage in between
comes from an underquoted AT_CHECK.

I'm committing the fix, but neighter the warning (albeit a better looking
one) nor the hang with pdksh/zsh are fixed by it.

As a final note, the file BUGS should not say "Do not use." in the
release. Just a reminder, don't take it as offence :-)

Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]