Changeset 103494 in vbox
- Timestamp:
- Feb 21, 2024 1:59:44 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py
r103455 r103494 136 136 reporter.log(' --audio-test-count <number>'); 137 137 reporter.log(' Default: 0 (means random)'); 138 reporter.log(' --audio-test-timeout <ms>'); 139 reporter.log(' Default: 5 minutes (300000)'); 138 140 reporter.log(' --audio-test-tone-duration <ms>'); 139 141 reporter.log(' Default: 0 (means random)'); … … 177 179 raise base.InvalidOption('The "--audio-controller-type" value "%s" is not valid' % (asArgs[iArg])); 178 180 elif asArgs[iArg] == '--audio-test-count' \ 179 or asArgs[iArg] == '--audio-test-tone-duration': 181 or asArgs[iArg] == '--audio-test-tone-duration' \ 182 or asArgs[iArg] == '--audio-test-timeout': 183 fHandleOption = True; 184 if asArgs[iArg] == '--audio-test-timeout' \ 185 and (self.fpApiVer < 7.1 or self.uRevision < 161834): 186 fHandleOption = False; # Older VKAT builds don't know about this option. 180 187 # Strip the "--audio-test-" prefix and keep the options as defined in VKAT, 181 188 # e.g. "--audio-test-count" -> "--count". That way we don't 182 189 # need to do any special argument translation and whatnot. 183 self.asVkatTestArgs.extend(['--' + asArgs[iArg][len('--audio-test-'):]]); 190 if fHandleOption: 191 self.asVkatTestArgs.extend(['--' + asArgs[iArg][len('--audio-test-'):]]); 184 192 iArg += 1; 185 193 if iArg >= len(asArgs): 186 194 raise base.InvalidOption('Option "%s" needs a value' % (asArgs[iArg - 1])); 187 self.asVkatTestArgs.extend([asArgs[iArg]]); 195 if fHandleOption: 196 self.asVkatTestArgs.extend([asArgs[iArg]]); 188 197 elif asArgs[iArg] == '--audio-verify-max-diff-count' \ 189 198 or asArgs[iArg] == '--audio-verify-max-diff-percent' \
Note:
See TracChangeset
for help on using the changeset viewer.