VirtualBox

儲存庫 vbox 的更動 65318


忽略:
時間撮記:
2017-1-16 上午11:53:50 (8 年 以前)
作者:
vboxsync
訊息:

vsheriff: Check for install/uninstall problems with unittests too.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r65317 r65318  
    694694        # We do the reason management just like for BSODs.
    695695        #
    696         cRelevantOnes = 0;
     696        cRelevantOnes   = 0;
     697        sMainLog        = oCaseFile.getMainLog();
    697698        aoFailedResults = oCaseFile.oTree.getListOfFailures();
    698699        for oFailedResult in aoFailedResults:
     
    700701                self.vprint('TODO: toplevel failure');
    701702                cRelevantOnes += 1
     703
    702704            elif oFailedResult.sName == 'Installing VirtualBox':
    703                 self.vprint('TODO: Installation failure');
     705                sResultLog = TestSetData.extractLogSectionElapsed(sMainLog, oFailedResult.tsCreated, oFailedResult.tsElapsed);
     706                self.investigateInstallUninstallFailure(oCaseFile, oFailedResult, sResultLog, fInstall = True)
    704707                cRelevantOnes += 1
     708
    705709            elif oFailedResult.sName == 'Uninstalling VirtualBox':
    706                 self.vprint('TODO: Uninstallation failure');
     710                sResultLog = TestSetData.extractLogSectionElapsed(sMainLog, oFailedResult.tsCreated, oFailedResult.tsElapsed);
     711                self.investigateInstallUninstallFailure(oCaseFile, oFailedResult, sResultLog, fInstall = False)
    707712                cRelevantOnes += 1
     713
    708714            elif oFailedResult.oParent is not None:
    709715                # Get the 2nd level node because that's where we'll find the unit test name.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette