On Apr 01 2019, Tom de Vries <[email protected]> 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. Andreas. -- Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." _______________________________________________ Bug-dejagnu mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-dejagnu
