public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug go/98823] go testsuite and timeouts
Date: Thu, 22 Apr 2021 12:46:27 +0000	[thread overview]
Message-ID: <bug-98823-4-4jAkPJ6Y1w@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98823-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98823

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #11)
> I'm just noting that DejaGNU appears to have a bug in the standard_wait
> procedure:
> 
> http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=blob;f=lib/remote.exp;
> h=1c9971a076415adc2fcdc04ab8f78cc832ce1098;hb=HEAD#l1162
> 
> The code seems to assume that the parameter timeout will set the timeout for
> the remote_expect.  But as far as I can tell, when running under expect,
> "timeout" is always a global variable.  So the $timeout that appears in the
> function refers to the global variable named "timeout", not the parameter
> named "timeout".
> 
> This means that although the DejaGNU procedure unix_load appears to set the
> timeout to the value of the global variable "test_timeout", and logs various
> messages to that effect, in fact that variable has no effect.  Only the
> variable "timeout" matters.

I raised this on the DG mailing list a few months ago, see:
https://lists.gnu.org/archive/html/dejagnu/2020-12/msg00000.html
It's actually GCC's fault for monkeypatching the standard_wait proc:
https://lists.gnu.org/archive/html/dejagnu/2020-12/msg00003.html

  parent reply	other threads:[~2021-04-22 12:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 15:29 [Bug go/98823] New: " jakub at gcc dot gnu.org
2021-01-25 18:55 ` [Bug go/98823] " ian at airs dot com
2021-01-25 19:09 ` schwab@linux-m68k.org
2021-01-25 19:34 ` ian at airs dot com
2021-01-25 19:41 ` schwab@linux-m68k.org
2021-01-25 19:44 ` schwab@linux-m68k.org
2021-01-25 20:13 ` ian at airs dot com
2021-01-25 20:52 ` schwab@linux-m68k.org
2021-01-25 20:59 ` ian at airs dot com
2021-01-25 23:31 ` jakub at gcc dot gnu.org
2021-02-01 14:15 ` jakub at gcc dot gnu.org
2021-02-07 17:48 ` ian at airs dot com
2021-02-07 18:09 ` ian at airs dot com
2021-02-07 19:00 ` jakub at gcc dot gnu.org
2021-02-12 17:25 ` ian at airs dot com
2021-04-22 12:03 ` jakub at gcc dot gnu.org
2021-04-22 12:46 ` redi at gcc dot gnu.org [this message]
2023-05-04 13:02 ` bergner at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98823-4-4jAkPJ6Y1w@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).