Skip to content

Commit

Permalink
Add ability to grep for test compress test case (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Sep 2, 2021
1 parent d3fb5b0 commit f04077c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/compress.js
Expand Up @@ -290,7 +290,9 @@ async function run_compress_tests() {
return true;
}
var tests = parse_test(path.resolve(dir, file));
let { GREP } = process.env;
for (var i in tests) if (tests.hasOwnProperty(i)) {
if (GREP && !i.includes(GREP)) continue;
if (!await test_case(tests[i])) {
failures++;
failed_files[file] = 1;
Expand Down

0 comments on commit f04077c

Please sign in to comment.