On 01-04-19 15:39, Andreas Schwab wrote:
> On Apr 01 2019, Tom de Vries <tdevr...@suse.de> wrote:
> 
>> Usually the testsuite runs in 12 seconds, but sometimes it takes more
>> than a minute (I managed to reproduce the same problem by running a
>> single gcc testsuite test-case).
>>
>> I tracked this down to tcl info hostname taking a long time, when:
>> - having a vpn session active, and
>> - having no network connection
> 
> Tcl calls gethostbyname on your hostname, so you should make sure that
> it is resolvable (by adding it to /etc/hosts, for example, or installing
> nss-myhostname).  That's probably a good idea anyway, since there may be
> other programs trying to do that too.

Hi,

that works for me, thanks.

FTR, I do consider this a workaround though. If my internet connection
or configuration is broken in some way, I still expect say, ls to work
reliably, with the same speed. And I would expect the same for dejagnu
runtest (unless I would be testing network functionality, or remote
boards or some such).

Thanks,
- Tom



_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-dejagnu

Reply via email to