Searched refs:InvalidOption (Results 1 - 18 of 18) sorted by relevance

/vbox/src/VBox/ValidationKit/tests/network/
H A DtdNetBenchmark1.py135 if iArg >= len(asArgs): raise base.InvalidOption('The "--remote-host" takes an IP address or a hostname');
139 if iArg >= len(asArgs): raise base.InvalidOption('The "--local-host" takes an IP address or a hostname');
143 if iArg >= len(asArgs): raise base.InvalidOption('The "--guest-host" takes an IP address or a hostname');
147 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
151 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
155 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
159 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
160 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
164 if iArg >= len(asArgs): raise base.InvalidOption('The "--nic-types" takes a colon separated list of NIC types');
168 if iArg >= len(asArgs): raise base.InvalidOption('Th
[all...]
/vbox/src/VBox/ValidationKit/tests/selftests/
H A DtdSelfTest4.py45 from testdriver.base import TestDriverBase, InvalidOption; namespace
64 raise InvalidOption('Invalid test name "%s". Must be one of: %s'
/vbox/src/VBox/ValidationKit/tests/usb/
H A DtdUsb1.py127 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
131 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
135 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
139 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
140 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
144 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
148 raise base.InvalidOption('The "--test-vms" value "%s" is not valid; valid values are: %s' \
152 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');
159 if iArg >= len(asArgs): raise base.InvalidOption('The "--usb-ctrls" takes a colon separated list of USB controllers');
166 if iArg >= len(asArgs): raise base.InvalidOption('Th
[all...]
/vbox/src/VBox/ValidationKit/tests/storage/
H A DtdStorageStress1.py130 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
134 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
138 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
142 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
143 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
148 raise base.InvalidOption('The "--storage-ctrls" takes a colon separated list of Storage controller types');
152 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-formats" takes a colon separated list of disk formats');
156 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-dirs" takes a colon separated list of directories');
161 raise base.InvalidOption('The "--iscsi-targets" takes a colon separated list of iscsi targets');
165 if iArg >= len(asArgs): raise base.InvalidOption('Th
[all...]
H A DtdStorageBenchmark1.py298 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
302 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
306 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
310 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
311 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
316 raise base.InvalidOption('The "--storage-ctrls" takes a colon separated list of Storage controller types');
320 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-formats" takes a colon separated list of disk formats');
324 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-dirs" takes a colon separated list of directories');
329 raise base.InvalidOption('The "--iscsi-targets" takes a colon separated list of iscsi targets');
333 if iArg >= len(asArgs): raise base.InvalidOption('Th
[all...]
H A DtdStorageSnapshotMerging1.py107 raise base.InvalidOption('The "--storage-ctrls" takes a colon separated list of Storage controller types');
111 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-formats" takes a colon separated list of disk formats');
115 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
119 raise base.InvalidOption('The "--test-vms" value "%s" is not valid; valid values are: %s' \
123 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');
/vbox/src/VBox/ValidationKit/tests/cpu/
H A DtdCpuPae1.py110 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
114 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
118 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
122 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
123 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
/vbox/src/VBox/ValidationKit/tests/smoketests/
H A DtdSmokeTest1.py79 if iArg >= len(asArgs): raise base.InvalidOption('The "--nic-attachment" takes an argument');
82 raise base.InvalidOption('The "--nic-attachment" value "%s" is not supported. Valid values are: bridged, nat' \
/vbox/src/VBox/ValidationKit/tests/shutdown/
H A DtdGuestOsShutdown1.py128 if iArg >= len(asArgs): raise base.InvalidOption('The "--boot-hdd" option requires an argument')
133 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpus" option requires an argument')
145 if iArg >= len(asArgs): raise base.InvalidOption('The "--suspend-time" option requires an argument')
149 if iArg >= len(asArgs): raise base.InvalidOption('The "--shutdown-iters" option requires an argument')
/vbox/src/VBox/ValidationKit/testdriver/
H A Dvboxtestvms.py507 In the event of a syntax error, a InvalidOption or QuietInvalidOption
514 raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
519 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
525 raise base.InvalidOption('The "--skip-virt-modes" takes a colon separated list of modes');
529 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
537 raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
542 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
543 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
549 raise base.InvalidOption('The "--test-vms" takes colon separated list');
558 raise base.InvalidOption('Th
[all...]
H A Dbase.py348 class InvalidOption(GenError): class in inherits:GenError
764 @throws InvalidOption or QuietInvalidOption on syntax error or similar.
1216 raise InvalidOption('The "%s" option takes %s values' % (asArgs[iArg], cMinNeeded,));
1217 raise InvalidOption('The "%s" option takes 1 value' % (asArgs[iArg],));
1326 In the event of a syntax error, a InvalidOption or QuietInvalidOption
1344 raise InvalidOption('selected special action "%s" already' % (self.asActions[0], ));
1352 raise InvalidOption('selected special action "%s" already' % (self.asActions[0], ));
1357 if iArg >= len(asArgs): raise InvalidOption('The "extract" action requires a destination directory');
1592 raise InvalidOption('unknown option: %s' % (asArgs[iArg]))
1596 except InvalidOption, oXcp
[all...]
H A Dvbox.py1504 raise base.InvalidOption('The "--vbox-session-type" takes an argument');
1513 raise base.InvalidOption('The "--vrdp-base-port" takes an argument');
1515 except: raise base.InvalidOption('The "--vrdp-base-port" value "%s" is not a valid integer', asArgs[iArg]);
1517 raise base.InvalidOption('The "--vrdp-base-port" value "%s" is not in the valid range (1..65530)', asArgs[iArg]);
1521 raise base.InvalidOption('The "--vbox-default-bridged-nic" takes an argument');
1528 raise base.InvalidOption('The "--vbox-self-log" takes an argument');
1533 raise base.InvalidOption('The "--vbox-self-log-flags" takes an argument');
1538 raise base.InvalidOption('The "--vbox-self-log-dest" takes an argument');
1543 raise base.InvalidOption('The "--vbox-session-log" takes an argument');
1548 raise base.InvalidOption('Th
[all...]
/vbox/src/VBox/ValidationKit/tests/installation/
H A DtdGuestOsInstOs2.py117 if iArg >= len(asArgs): raise base.InvalidOption('The "--install-iso" option requires an argument')
121 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpus" option requires an argument')
204 raise base.InvalidOption('Invalid extradata specified: %s' % sExtraData)
H A DtdGuestOsInstTest1.py171 raise base.InvalidOption('Invalid extradata specified: %s' % sExtraData)
/vbox/src/VBox/ValidationKit/tests/teleportation/
H A DtdTeleportLocal1.py99 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
103 raise base.InvalidOption('The "--virt-modes" value "%s" is not valid; valid values are: %s' \
107 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
111 except: raise base.InvalidOption('The "--cpu-counts" value "%s" is not an integer' % (s,));
112 if c <= 0: raise base.InvalidOption('The "--cpu-counts" value "%s" is zero or negative' % (s,));
116 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
121 raise base.InvalidOption('The "--test-vms" value "%s" is not valid; valid values are: %s' \
127 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');
134 if iArg >= len(asArgs): raise base.InvalidOption('The "--tests" takes colon separated list');
141 if iArg >= len(asArgs): raise base.InvalidOption('Th
[all...]
/vbox/src/VBox/ValidationKit/tests/additions/
H A DtdAddBasic1.py86 if iArg >= len(asArgs): raise base.InvalidOption('The "--tests" takes a colon separated list of tests');
90 raise base.InvalidOption('The "--tests" value "%s" is not valid; valid values are: %s' \
H A DtdAddGuestCtrl.py517 raise base.InvalidOption('The "--add-guest-ctrl-tests" value "%s" is not valid; valid values are: %s' \
/vbox/src/VBox/ValidationKit/tests/autostart/
H A DtdAutostart1.py493 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-build-dir" takes a path argument');
497 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
501 raise base.InvalidOption('The "--test-vms" value "%s" is not valid; valid values are: %s' \
505 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');

Completed in 132 milliseconds