Changeset 80780 in vbox for trunk/src/VBox/ValidationKit/testdriver/vbox.py
- Timestamp:
- Sep 13, 2019 2:55:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r80757 r80780 2753 2753 sLogDest = self.sLogSessionDest; 2754 2754 else: 2755 sLogDest = 'file=%s' % sLogFile; 2756 sEnv = 'VBOX_LOG=%s\nVBOX_LOG_FLAGS=%s\nVBOX_LOG_DEST=nodeny %s\nVBOX_RELEASE_LOG_FLAGS=append time' \ 2757 % (self.sLogSessionGroups, self.sLogSessionFlags, sLogDest,); 2755 sLogDest = 'file=%s' % (sLogFile,); 2756 asEnvFinal = [ 2757 'VBOX_LOG=%s' % (self.sLogSessionGroups,), 2758 'VBOX_LOG_FLAGS=%s' % (self.sLogSessionFlags,), 2759 'VBOX_LOG_DEST=nodeny %s' % (sLogDest,), 2760 'VBOX_RELEASE_LOG_FLAGS=append time', 2761 ]; 2758 2762 if sType == 'gui': 2759 sEnv += '\nVBOX_GUI_DBG_ENABLED=1'2763 asEnvFinal.append('VBOX_GUI_DBG_ENABLED=1'); 2760 2764 if asEnv is not None and asEnv: 2761 sEnv += '\n' + ('\n'.join(asEnv));2765 asEnvFinal += asEnv; 2762 2766 2763 2767 # Shortcuts for local testing. … … 2802 2806 oSession = self.oVBoxMgr.getSessionObject(); # pylint: disable=no-member,no-value-for-parameter 2803 2807 if self.fpApiVer < 3.3: 2804 oProgress = self.oVBox.openRemoteSession(oSession, sUuid, sType, sEnv);2808 oProgress = self.oVBox.openRemoteSession(oSession, sUuid, sType, '\n'.join(asEnv)); 2805 2809 else: 2806 oProgress = oVM.launchVMProcess(oSession, sType, sEnv); 2810 if self.uApiRevision >= self.makeApiRevision(6, 0, 97, 1): 2811 oProgress = oVM.launchVMProcess(oSession, sType, asEnvFinal); 2812 else: 2813 oProgress = oVM.launchVMProcess(oSession, sType, '\n'.join(asEnv)); 2807 2814 break; 2808 2815 except:
Note:
See TracChangeset
for help on using the changeset viewer.