Changeset 56374 in vbox for trunk/src/VBox/ValidationKit/testboxscript
- Timestamp:
- Jun 11, 2015 6:48:31 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100967
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/testboxscript_real.py
r56295 r56374 171 171 constants.tbreq.SIGNON_PARAM_HAS_64_BIT_GUEST: { self.VALUE: self._can64BitGuest(), self.FN: None }, 172 172 constants.tbreq.SIGNON_PARAM_HAS_IOMMU: { self.VALUE: self._hasHostIoMmu(), self.FN: None }, 173 #constants.tbreq.SIGNON_PARAM_WITH_RAW_MODE: { self.VALUE: self._withRawModeSupport(), self.FN: None }, 173 174 constants.tbreq.SIGNON_PARAM_SCRIPT_REV: { self.VALUE: self._getScriptRev(), self.FN: None }, 174 175 constants.tbreq.SIGNON_PARAM_REPORT: { self.VALUE: self._getHostReport(), self.FN: None }, … … 221 222 os.environ['TESTBOX_MEM_SIZE'] = self.getSignOnParam(constants.tbreq.SIGNON_PARAM_MEM_SIZE); 222 223 os.environ['TESTBOX_SCRATCH_SIZE'] = self.getSignOnParam(constants.tbreq.SIGNON_PARAM_SCRATCH_SIZE); 224 #TODO: os.environ['TESTBOX_WITH_RAW_MODE'] = self.getSignOnParam(constants.tbreq.SIGNON_PARAM_WITH_RAW_MODE); 225 os.environ['TESTBOX_WITH_RAW_MODE'] = self._withRawModeSupport(); 223 226 os.environ['TESTBOX_MANAGER_URL'] = self._oOptions.sTestManagerUrl; 224 227 os.environ['TESTBOX_UUID'] = self._sTestBoxUuid; … … 531 534 self._oOptions.fHasIoMmu = False; 532 535 return self._oOptions.fHasIoMmu; 536 537 def _withRawModeSupport(self): 538 """ 539 Check if the testbox is configured with raw-mode support or not. 540 """ 541 if self._oOptions.fWithRawMode is None: 542 self._oOptions.fWithRawMode = True; 543 return self._oOptions.fWithRawMode; 533 544 534 545 def _getHostReport(self): … … 934 945 dest="fHasIoMmu", action="store_false", default=None, 935 946 help="No I/O MMU available"); 947 parser.add_option("--raw-mode", 948 dest="fWithRawMode", action="store_true", default=None, 949 help="Use raw-mode on this host."); 950 parser.add_option("--no-raw-mode", 951 dest="fWithRawMode", action="store_false", default=None, 952 help="Disables raw-mode tests on this host."); 936 953 parser.add_option("--pidfile", 937 954 dest="sPidFile", default=None,
Note:
See TracChangeset
for help on using the changeset viewer.