• Enrico Bacis's avatar
    [test] Use glob expansion in test selection · 80423e89
    Enrico Bacis authored
    The run_test.py tool test selection only expands asterisks at the end of
    the test name. This CL introduces glob expansion in test selection
    (asterisks are expanded anywhere in the path).
    
    This is useful when tests that belong to the same area have different
    prefixes. For example wasm cctests have two different prefixes:
    'cctest/test-run-wasm*' and 'cctest/test-wasm*'. With this CL it is
    possible to specify the selector 'cctest/*wasm*' to run them all.
    
    R=machenbach@chromium.org
    
    Change-Id: I1c7cc5136b21e71f3eaf69fb98d5dfd77d336e2a
    Reviewed-on: https://chromium-review.googlesource.com/609000Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Enrico Bacis <enricobacis@google.com>
    Cr-Commit-Position: refs/heads/master@{#47274}
    80423e89
testsuite.py 11.8 KB