public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Florian Weimer <fweimer@redhat.com>
Cc: "Carlos O'Donell" <carlos@redhat.com>,
	 GNU C Library <libc-alpha@sourceware.org>
Subject: [PATCH] Fix testsuite timeout handling
Date: Sat, 10 Dec 2016 15:23:00 -0000	[thread overview]
Message-ID: <87twabhkp7.fsf_-_@linux-m68k.org> (raw)
In-Reply-To: <b80a0427-2758-f196-f739-aacbc908f974@redhat.com> (Florian Weimer's message of "Mon, 5 Dec 2016 16:57:23 +0100")

	* support/support_test_main.c (support_test_main): Use correct
	timeout.

diff --git a/support/support_test_main.c b/support/support_test_main.c
index 72771bf101..e185281eaf 100644
--- a/support/support_test_main.c
+++ b/support/support_test_main.c
@@ -338,7 +338,7 @@ support_test_main (int argc, char **argv, const struct test_config *config)
 
   /* Set timeout.  */
   signal (SIGALRM, signal_handler);
-  alarm (config->timeout * timeoutfactor);
+  alarm (timeout * timeoutfactor);
 
   /* Make sure we clean up if the wrapper gets interrupted.  */
   signal (SIGINT, signal_handler);
-- 
2.11.0

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  parent reply	other threads:[~2016-12-10 15:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28 20:30 [PATCH] support: Introduce new subdirectory for test infrastructure Florian Weimer
2016-11-28 21:51 ` Florian Weimer
2016-11-28 22:58   ` Andreas Schwab
2016-11-29  7:52     ` Florian Weimer
2016-12-02 19:21       ` Carlos O'Donell
2016-12-05 15:57         ` Florian Weimer
2016-12-07 13:20           ` Florian Weimer
2016-12-08 14:29           ` Carlos O'Donell
2016-12-10 15:08           ` Andreas Schwab
2016-12-10 19:17             ` Florian Weimer
2016-12-10 19:39               ` Andreas Schwab
2016-12-12 10:00                 ` Florian Weimer
2016-12-12 18:16                   ` Andreas Schwab
2016-12-10 15:23           ` Andreas Schwab [this message]
2016-12-10 15:36             ` [PATCH] Fix testsuite timeout handling Florian Weimer
2016-11-28 23:11 ` [PATCH] support: Introduce new subdirectory for test infrastructure Joseph Myers
2016-11-29  6:41   ` Florian Weimer
2016-11-30 14:16     ` Carlos O'Donell
2016-12-12 13:12 ` Stefan Liebler
2016-12-12 14:50   ` Florian Weimer
2016-12-12 16:38     ` Stefan Liebler
2016-12-12 22:16       ` Florian Weimer

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=87twabhkp7.fsf_-_@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.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).