vbox的更動 62273 路徑 trunk/src/VBox/ValidationKit
- 時間撮記:
- 2016-7-15 上午11:23:41 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r62271 r62273 141 141 return self.isVBoxTest() \ 142 142 and self.oTestCase.sName.lower().startswith('install:'); 143 144 def isVBoxUSBTest(self): 145 """ Test case classification: VirtualBox USB test. """ 146 return self.isVBoxTest() \ 147 and self.oTestCase.sName.lower().startswith('usb:'); 148 149 def isVBoxStorageTest(self): 150 """ Test case classification: VirtualBox Storage test. """ 151 return self.isVBoxTest() \ 152 and self.oTestCase.sName.lower().startswith('storage:'); 153 154 def isVBoxGAsTest(self): 155 """ Test case classification: VirtualBox Guest Additions test. """ 156 return self.isVBoxTest() \ 157 and self.oTestCase.sName.lower().startswith('ga\'s tests'); 158 159 def isVBoxAPITest(self): 160 """ Test case classification: VirtualBox API test. """ 161 return self.isVBoxTest() \ 162 and self.oTestCase.sName.lower().startswith('api:'); 163 164 def isVBoxBenchmarkTest(self): 165 """ Test case classification: VirtualBox Benchmark test. """ 166 return self.isVBoxTest() \ 167 and self.oTestCase.sName.lower().startswith('benchmark:'); 143 168 144 169 def isVBoxSmokeTest(self): … … 893 918 894 919 # 920 # XPCOM screwup 921 # 922 if sMainLog.find('AttributeError: \'NoneType\' object has no attribute \'addObserver\'') > 0: 923 oCaseFile.noteReason(self.ktReason_Buggy_Build_Broken_Build); 924 return self.caseClosed(oCaseFile); 925 926 # 895 927 # Go thru each failed result. 896 928 # … … 917 949 or sResultLog.find('(len(self._asXml, asText))') > 0: 918 950 oCaseFile.noteReasonForId(self.ktReason_Ignore_Buggy_Test_Driver, oFailedResult.idTestResult); 919 920 if sMainLog.find('AttributeError: \'NoneType\' object has no attribute \'addObserver\'') > 0 \921 or sMainLog.find('Details: code NS_ERROR_INVALID_POINTER') > 0:922 oCaseFile.noteReason(self.ktReason_Buggy_Build_Broken_Build);923 return self.caseClosed(oCaseFile);924 951 925 952 else: … … 965 992 oCaseFile = VirtualTestSheriffCaseFile(self, oTestSet, oTree, oBuild, oTestBox, oTestGroup, oTestCase); 966 993 994 self.dprint(u'usb = %s.' % (oCaseFile.isVBoxUSBTest())); 967 995 if oTestSet.enmStatus == TestSetData.ksTestStatus_BadTestBox: 968 996 self.dprint(u'investigateBadTestBox is taking over %s.' % (oCaseFile.sLongName,)); … … 976 1004 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 977 1005 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 1006 1007 elif oCaseFile.isVBoxUSBTest(): 1008 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1009 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 1010 1011 elif oCaseFile.isVBoxStorageTest(): 1012 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1013 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 1014 1015 elif oCaseFile.isVBoxGAsTest(): 1016 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1017 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 1018 1019 elif oCaseFile.isVBoxAPITest(): 1020 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1021 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 1022 1023 elif oCaseFile.isVBoxBenchmarkTest(): 1024 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1025 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = False); 978 1026 979 1027 elif oCaseFile.isVBoxSmokeTest():
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器