[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] [platform-testers] libunistring 0.9.6 first relea
From: |
Dagobert Michelsen |
Subject: |
Re: [bug-libunistring] [platform-testers] libunistring 0.9.6 first release candidate |
Date: |
Thu, 2 Jul 2015 08:17:33 +0200 |
Hi Daiki,
> Am 02.07.2015 um 07:59 schrieb Daiki Ueno <address@hidden>:
>
> Dagobert Michelsen <address@hidden> writes:
>
>>> (dbx) run
>>>
>>> Running: test-u16-strstr
>>> (process id 23637)
>>> Reading libc_psr.so.1
>>> terminating signal 14 SIGALRM
>>> (dbx) where
>>> dbx: program is not active
>>> (dbx)
>
> Sorry, I somehow missed the fact that the test really uses alarm for
> timeout handling:
> http://git.savannah.gnu.org/cgit/gnulib.git/tree/tests/unistr/test-u16-strstr.c#n41
>
> I did the build on your system (thanks for giving me the access), and
> the test can indeed take over 5 seconds (= the timeout value):
>
> $ time ./test-u16-strstr
> real 0m5.281s
> user 0m5.128s
> sys 0m0.162s
>
> I suppose the problem is intermittent and might be fixed by running it
> when the system is not so busy, but if it still constantly occurs, we
> could increase the timeout value (though it should be carefully chosen,
> based on the algorithm complexity).
The machine is rather slow than overloaded, I guess more time (10?) would be
good.
Best regards -- Dago