VirtualBox

vbox的更動 61934 路徑 trunk/src/VBox/ValidationKit


忽略:
時間撮記:
2016-6-29 下午01:40:26 (8 年 以前)
作者:
vboxsync
訊息:

testdriver/vbox.py: terminateVmBySession: Pause VM if we're going to get any screenshots, stacks or such.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r61931 r61934  
    25512551
    25522552        #
     2553        # Pause the VM if we're going to take any screenshots or dig into the
     2554        # guest.  Failures are quitely ignored.
     2555        #
     2556        if self.fAlwaysUploadLogs or reporter.testErrorCount() > 0:
     2557            try:
     2558                if oSession.oVM.state in [ vboxcon.MachineState_Running,
     2559                                           vboxcon.MachineState_LiveSnapshotting,
     2560                                           vboxcon.MachineState_Teleporting ]:
     2561                    oSession.o.console.pause();
     2562            except:
     2563                reporter.logXcpt();
     2564
     2565        #
    25532566        # Take Screenshot and upload it (see below) to Test Manager if appropriate/requested.
    25542567        #
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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