VirtualBox

Ignore:
Timestamp:
Jan 16, 2017 12:03:47 PM (8 years ago)
Author:
vboxsync
Message:

testresults.py: Fix for inverted failure reason filter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testresults.py

    r65167 r65319  
    874874
    875875                if iCrit == self.kiFailReasons:
    876                     sQuery += '%s    AND TestSets.enmStatus >= \'failure\'::TestStatus_T\n' % (sExtraIndent,);
     876                    if oCrit.fInverted:
     877                        sQuery += '%s    OR TestResultFailures.idFailureReason IS NULL\n' % (sExtraIndent,);
     878                    else:
     879                        sQuery += '%s    AND TestSets.enmStatus >= \'failure\'::TestStatus_T\n' % (sExtraIndent,);
    877880                sQuery += ')\n';
    878881            if oCrit.oSub is not 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