Hi,
I've setup a dejagnu testsuite for the dwz component (
https://sourceware.org/git/?p=dwz.git;a=summary ).
I'm running into the following problem.
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
I manage to work around this by editing /usr/share/dejagnu/runtest.exp
and redefining get_local_hostname like this:
...
proc get_local_hostname { } {
return [exec hostname]
}
...
I think it's a bug that a testsuite run that tests no network
functionality slows down by a factor of 5 when there's no network
connection.
[ In absence of a fix, I would already be grateful if somebody can point
out to me how I can work around this in a site.exp or board file or some
such, I tried myself but didn't manage to make that work. ]
Thanks,
- Tom
_______________________________________________
Bug-dejagnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-dejagnu