rooneypark / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

chrometest.filterMatch in chrome_test.js does not accept OR pattern. #167

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the comment of the function, we can pass googletest style filter.
Specifically, 'A:B' means tests whose name is 'A' or 'B' run.

However, the check code is:

  for (var i = 0; i < positive.length; i++) {
    if (!chrometest.wildcardMatch(positive[i], s)) {
      return false;
    }
  }

so, it runs only tests whose name matches with 'all' patterns, instead of 
'one-of' the patterns.

Original issue reported on code.google.com by hidehiko@chromium.org on 11 Dec 2014 at 5:36