Changeset 86503 in vbox for trunk/src/VBox
- Timestamp:
- Oct 9, 2020 1:49:47 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140818
- Location:
- trunk/src/VBox/ValidationKit/testdriver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/base.py
r86443 r86503 737 737 return -127; 738 738 return self.uExitCode >> 8; 739 740 def isNormalExit(self): 741 """ 742 Returns True if regular exit(), False if signal or still running. 743 """ 744 if self.isRunning(): 745 return False; 746 if sys.platform == 'win32': 747 return False; 748 return os.WIFEXITED(self.uExitCode); 739 749 740 750 def interrupt(self): -
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r86493 r86503 1318 1318 reporter.log('VBoxSVC is no longer running...'); 1319 1319 if not self.oVBoxSvcProcess.isRunning(): 1320 iExit = self.oVBoxSvcProcess.getExitCode(); 1321 if iExit != 0 or not self.oVBoxSvcProcess.isNormalExit(): 1322 reporter.error("VBoxSVC exited with status %d (%#x)" % (iExit, self.oVBoxSvcProcess.uExitCode)); 1320 1323 self.oVBoxSvcProcess = None; 1321 1324 else:
Note:
See TracChangeset
for help on using the changeset viewer.