VirtualBox

Changeset 94571 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 12, 2022 9:43:59 AM (3 years ago)
Author:
vboxsync
Message:

tstIEMAImpl: Allow multiple simple pattern expressions for the --include and --exclude options (separated by |). bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.cpp

    r94569 r94571  
    764764    uint32_t i = g_cExcludeTestPatterns;
    765765    while (i-- > 0)
    766         if (RTStrSimplePatternMatch(g_apszExcludeTestPatterns[i], pszName))
     766        if (RTStrSimplePatternMultiMatch(g_apszExcludeTestPatterns[i], RTSTR_MAX, pszName, RTSTR_MAX, NULL))
    767767            return false;
    768768
     
    774774    /* Otherwise only tests in the include patters gets tested: */
    775775    while (i-- > 0)
    776         if (RTStrSimplePatternMatch(g_apszIncludeTestPatterns[i], pszName))
     776        if (RTStrSimplePatternMultiMatch(g_apszIncludeTestPatterns[i], RTSTR_MAX, pszName, RTSTR_MAX, NULL))
    777777            return true;
    778778
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