Changeset 98269 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jan 24, 2023 9:48:36 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r98103 r98269 905 905 self.fAlwaysUploadRecordings = False; # Only upload recording files on failure by default. 906 906 self.fEnableDebugger = True; 907 self.fVmNoTerminate = False; # Whether to skip exit handling and tearing down the VMs. 907 908 self.adRecordingFiles = []; 908 909 self.fRecordingEnabled = False; # Don't record by default (yet). … … 1830 1831 reporter.log(' Explicitly specify 0 for unlimited size.'); 1831 1832 reporter.log(' Default: 195 MB.'); 1833 reporter.log(' --vbox-vm-no-terminate'); 1834 reporter.log(' Does not terminate the test VM after running the test driver.'); 1832 1835 if self.oTestVmSet is not None: 1833 1836 self.oTestVmSet.showUsage(); … … 1960 1963 raise base.InvalidOption('The "--vbox-recording-max-file-size" takes an argument'); 1961 1964 self.cMbRecordingMax = int(asArgs[iArg]); 1965 elif asArgs[iArg] == '--vbox-vm-no-terminate': 1966 self.fVmNoTerminate = True; 1962 1967 else: 1963 1968 # Relevant for selecting VMs to test? … … 2083 2088 Stop VBoxSVC if we've started it. 2084 2089 """ 2085 if self.oVBoxSvcProcess is not None: 2090 if not self.fVmNoTerminate \ 2091 and self.oVBoxSvcProcess is not None: 2086 2092 reporter.log('*** Shutting down the VBox API... (iRc=%s)' % (iRc,)); 2087 2093 self._powerOffAllVms(); … … 3285 3291 kill the VM process. 3286 3292 """ 3293 3287 3294 reporter.log2('terminateVmBySession: oSession=%s (pid=%s) oProgress=%s' % (oSession.sName, oSession.getPid(), oProgress)); 3295 3296 if self.fVmNoTerminate: 3297 reporter.log('terminateVmBySession: Skipping, as --vbox-vm-no-terminate was specified'); 3298 # Make sure that we still process the events the VM needs. 3299 self.sleep(24 * 60 * 60 * 1000); 3288 3300 3289 3301 # Call getPid first to make sure the PID is cached in the wrapper.
Note:
See TracChangeset
for help on using the changeset viewer.