VirtualBox

Changeset 98615 in vbox


Ignore:
Timestamp:
Feb 17, 2023 10:01:51 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155907
Message:

ValKit/vboxtestvms.py: Added --skip-win-vms and --skip-non-win-vms options to help split up the GA tests.

File:
1 edited

Legend:

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

    r98103 r98615  
    15931593        reporter.log('  --skip-vms     <vm1[:vm2[:...]]>');
    15941594        reporter.log('      Skip the specified VMs when testing.');
     1595        reporter.log('  --skip-win-vms');
     1596        reporter.log('      Skips Windows test VMs (accumulative).');
     1597        reporter.log('  --skip-non-win-vms');
     1598        reporter.log('      Skips non-Windows test VMs (accumulative).');
    15951599        reporter.log('  --snapshot-restore-current');
    15961600        reporter.log('      Restores the current snapshot and resumes execution.');
     
    16831687                    reporter.log('warning: The "--test-vms" value "%s" does not specify any of our test VMs.' % (s,));
    16841688                else:
     1689                    oTestVm.fSkip = True;
     1690
     1691        elif asArgs[iArg] == '--skip-win-vms':
     1692            asTestVMs = asArgs[iArg].split(':');
     1693            for oTestVm in self.oTestVmManager.aoTestVms:
     1694                if oTestVm.isWindows():
     1695                    oTestVm.fSkip = True;
     1696
     1697        elif asArgs[iArg] == '--skip-non-win-vms':
     1698            asTestVMs = asArgs[iArg].split(':');
     1699            for oTestVm in self.oTestVmManager.aoTestVms:
     1700                if not oTestVm.isWindows():
    16851701                    oTestVm.fSkip = True;
    16861702
Note: See TracChangeset for help on using the changeset viewer.

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