VirtualBox

忽略:
時間撮記:
2016-1-20 下午07:33:11 (9 年 以前)
作者:
vboxsync
訊息:

testdriver/base.py: Better actionConfig and actionExecute result logging.

檔案:
修改 1 筆資料

圖例:

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

    r56295 r59425  
    16491649                reporter.log('*** config action ***');
    16501650                fRc = self.actionConfig();
    1651                 if fRc is True: reporter.log("config succeeded");
    1652                 else:           reporter.log("config failed");
     1651                if fRc is True:     reporter.log("config succeeded");
     1652                elif fRc is None:   reporter.log("config skipping test");
     1653                else:               reporter.log("config failed");
    16531654                reporter.log('*** config action completed (fRc=%s) ***' % (fRc,));
    16541655
     
    16571658                reporter.log('*** execute action ***');
    16581659                fRc = self.actionExecute();
    1659                 if fRc is True: reporter.log("execute succeeded");
    1660                 else:           reporter.log("execute failed (fRc=%s)" % (fRc,));
     1660                if fRc is True:     reporter.log("execute succeeded");
     1661                elif fRc is None:   reporter.log("execute skipping test");
     1662                else:               reporter.log("execute failed (fRc=%s)" % (fRc,));
    16611663                reporter.testCleanup();
    16621664                reporter.log('*** execute action completed (fRc=%s) ***' % (fRc,));
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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