VirtualBox

Changeset 59425 in vbox


Ignore:
Timestamp:
Jan 20, 2016 7:33:11 PM (9 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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,));
Note: See TracChangeset for help on using the changeset viewer.

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