VirtualBox

Changeset 80238 in vbox for trunk/src


Ignore:
Timestamp:
Aug 12, 2019 10:54:43 PM (5 years ago)
Author:
vboxsync
Message:

ValKit/testboxscript: Another 'bad testbox' adjustment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/testboxtasks.py

    r80237 r80238  
    913913                testboxcommons.log2('_threadProc: _monitorChild -> %s' % (fRc,));
    914914
    915                 # If the run failed, do explicit cleanup.
     915                # If the run failed, do explicit cleanup unless its a BAD_TESTBOX, since BAD_TESTBOX is
     916                # intended for pre-cleanup problems caused by previous test failures.  Do a cleanup on
     917                # a BAD_TESTBOX could easily trigger an uninstallation error and change status to FAILED.
    916918                if fRc is not True:
    917                     testboxcommons.log2('_threadProc: explicit cleanups...');
    918                     self._terminateChild();
    919                     self._cleanupAfter();
     919                    if sResult != constants.result.BAD_TESTBOX:
     920                        testboxcommons.log2('_threadProc: explicit cleanups...');
     921                        self._terminateChild();
     922                        self._cleanupAfter();
    920923                    fNeedCleanUp = False;
    921924            assert self._oChild is None;
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