VirtualBox

Changeset 78418 in vbox for trunk/src


Ignore:
Timestamp:
May 6, 2019 11:30:09 PM (6 years ago)
Author:
vboxsync
Message:

testdriver/vboxtestvms.py: Refined Frank's testboxpile1 hack so it doesn't totaly mess up script time when running tests locally on my windows box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py

    r78312 r78418  
    326326                self.asVirtModesSup = [sVirtMode for sVirtMode in self.asVirtModesSup if sVirtMode != 'raw'];
    327327            # TEMPORARY HACK - START
    328             sHostName = socket.getfqdn();
     328            sHostName = os.environ.get("COMPUTERNAME", None);
     329            if sHostName:   sHostName = sHostName.lower();
     330            else:           sHostName = socket.getfqdn(); # Horribly slow on windows without IPv6 DNS/whatever.
    329331            if sHostName.startswith('testboxpile1'):
    330332                self.asVirtModesSup = [sVirtMode for sVirtMode in self.asVirtModesSup if sVirtMode != 'raw'];
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette