Lines Matching refs:iArg
124 def parseOption(self, asArgs, iArg): # pylint: disable=R0912,R0915
125 if asArgs[iArg] == '--virt-modes':
126 iArg += 1;
127 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
128 self.asVirtModes = asArgs[iArg].split(':');
133 elif asArgs[iArg] == '--cpu-counts':
134 iArg += 1;
135 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
137 for s in asArgs[iArg].split(':'):
142 elif asArgs[iArg] == '--test-vms':
143 iArg += 1;
144 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
145 self.asTestVMs = asArgs[iArg].split(':');
150 elif asArgs[iArg] == '--skip-vms':
151 iArg += 1;
152 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');
153 self.asSkipVMs = asArgs[iArg].split(':');
157 elif asArgs[iArg] == '--usb-ctrls':
158 iArg += 1;
159 if iArg >= len(asArgs): raise base.InvalidOption('The "--usb-ctrls" takes a colon separated list of USB controllers');
160 self.asUsbCtrls = asArgs[iArg].split(':');
164 elif asArgs[iArg] == '--usb-speed':
165 iArg += 1;
166 if iArg >= len(asArgs): raise base.InvalidOption('The "--usb-speed" takes a colon separated list of USB speeds');
167 self.asUsbSpeed = asArgs[iArg].split(':');
172 return vbox.TestDriver.parseOption(self, asArgs, iArg);
173 return iArg + 1;