Lines Matching refs:iArg

127     def parseOption(self, asArgs, iArg):                                        # pylint: disable=R0912,R0915
128 if asArgs[iArg] == '--virt-modes':
129 iArg += 1;
130 if iArg >= len(asArgs): raise base.InvalidOption('The "--virt-modes" takes a colon separated list of modes');
131 self.asVirtModes = asArgs[iArg].split(':');
136 elif asArgs[iArg] == '--cpu-counts':
137 iArg += 1;
138 if iArg >= len(asArgs): raise base.InvalidOption('The "--cpu-counts" takes a colon separated list of cpu counts');
140 for s in asArgs[iArg].split(':'):
145 elif asArgs[iArg] == '--storage-ctrls':
146 iArg += 1;
147 if iArg >= len(asArgs):
149 self.asStorageCtrls = asArgs[iArg].split(':');
150 elif asArgs[iArg] == '--disk-formats':
151 iArg += 1;
152 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-formats" takes a colon separated list of disk formats');
153 self.asDiskFormats = asArgs[iArg].split(':');
154 elif asArgs[iArg] == '--disk-dirs':
155 iArg += 1;
156 if iArg >= len(asArgs): raise base.InvalidOption('The "--disk-dirs" takes a colon separated list of directories');
157 self.asDirs = asArgs[iArg].split(':');
158 elif asArgs[iArg] == '--iscsi-targets':
159 iArg += 1;
160 if iArg >= len(asArgs):
162 self.asIscsiTargets = asArgs[iArg].split(':');
163 elif asArgs[iArg] == '--tests':
164 iArg += 1;
165 if iArg >= len(asArgs): raise base.InvalidOption('The "--tests" takes a colon separated list of disk formats');
166 self.asTests = asArgs[iArg].split(':');
167 elif asArgs[iArg] == '--guest-fs':
168 iArg += 1;
169 if iArg >= len(asArgs):
171 self.asGuestFs = asArgs[iArg].split(':');
172 elif asArgs[iArg] == '--test-vms':
173 iArg += 1;
174 if iArg >= len(asArgs): raise base.InvalidOption('The "--test-vms" takes colon separated list');
175 self.asTestVMs = asArgs[iArg].split(':');
180 elif asArgs[iArg] == '--skip-vms':
181 iArg += 1;
182 if iArg >= len(asArgs): raise base.InvalidOption('The "--skip-vms" takes colon separated list');
183 self.asSkipVMs = asArgs[iArg].split(':');
188 return vbox.TestDriver.parseOption(self, asArgs, iArg);
189 return iArg + 1;