public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: libc-alpha@sourceware.org
Cc: linux-snps-arc@lists.infradead.org,
	Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Subject: [PATCH] tst-tzset: raise timeout to 10 seconds
Date: Mon, 30 Jul 2018 15:28:00 -0000	[thread overview]
Message-ID: <20180730152844.21999-1-abrodkin@synopsys.com> (raw)

On ARC HSDK board even though it operates @ 1GHz this test runs
~7 seconds which gives us failures all the time.

That's what happens now:
| # time .../build/timezone/tst-tzset
| Timed out: killed the child process
| Command exited with non-zero status 1
| real    0m 5.11s
| user    0m 3.59s
| sys     0m 1.45s

And that's what happens with longer time-out:
| # time .../build/timezone/tst-tzset
| real    0m 6.95s
| user    0m 4.97s
| sys     0m 1.99s
|
| # echo $?
| 0
---
 timezone/tst-tzset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timezone/tst-tzset.c b/timezone/tst-tzset.c
index 27f986b56dab..534f7acdf75f 100644
--- a/timezone/tst-tzset.c
+++ b/timezone/tst-tzset.c
@@ -25,7 +25,7 @@
 #include <time.h>
 #include <unistd.h>
 
-#define TIMEOUT 5
+#define TIMEOUT 10
 static int do_test (void);
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"
-- 
2.17.1

             reply	other threads:[~2018-07-30 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 15:28 Alexey Brodkin [this message]
2018-07-30 15:58 ` Joseph Myers
2018-07-30 16:07   ` Andreas Schwab
2018-07-30 16:51     ` Florian Weimer
2018-07-30 17:12       ` Joseph Myers

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=20180730152844.21999-1-abrodkin@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-snps-arc@lists.infradead.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).