Changeset 61595 in vbox for trunk/src/VBox
- Timestamp:
- Jun 8, 2016 8:31:49 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107937
- Location:
- trunk/src/VBox/ValidationKit/testboxscript
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/Makefile.kmk
r60344 r61595 37 37 testboxscript_EXEC_SOURCES = \ 38 38 testboxscript.py \ 39 testboxscript_real.py \39 $(testboxscript_0_OUTDIR)/testboxscript_real.py \ 40 40 setup.sh 41 $(call VBOX_EDIT_VERSION_RULE_FN,testboxscript,testboxscript_real.py) 42 41 43 testboxscript_SOURCES = \ 42 44 testboxcommand.py \ -
trunk/src/VBox/ValidationKit/testboxscript/testboxscript_real.py
r61467 r61595 183 183 self._ddSignOnParams[sItem][self.VALUE] = self._ddSignOnParams[sItem][self.FN]() 184 184 185 testboxcommons.log('Starting Test Box script (%s)' % __version__)185 testboxcommons.log('Starting Test Box script (%s)' % (self._getScriptRev(),)); 186 186 testboxcommons.log('Test Manager URL: %s' % self._oOptions.sTestManagerUrl,) 187 187 testboxcommons.log('Scratch root path: %s' % self._oOptions.sScratchRoot,) … … 590 590 The script (subversion) revision number. 591 591 """ 592 return __version__[11:-1].strip(); 592 sRev = '@VBOX_SVN_REV@'; 593 sRev = sRev.strip(); # just in case... 594 try: 595 _ = int(sRev); 596 except: 597 return __version__[11:-1].strip(); 598 return sRev; 593 599 594 600 def _getPythonHexVersion(self): … … 690 696 raise Exception('Still exists after deletion, weird.'); 691 697 except Exception, oXcpt: 698 # pylint: disable=too-many-boolean-expressions 692 699 if fUseTheForce is True \ 693 700 and utils.getHostOs() not in ['win', 'os2'] \
Note:
See TracChangeset
for help on using the changeset viewer.