swc/ecmascript/minifier/scripts/ignore.sh
강동윤 99e738643a
feat(es/minifier): Implement rules and classify tests (#1750)
swc_ecma_minifier:
 - Classify tests so we can focus on MVP.
2021-05-28 19:44:03 +09:00

13 lines
314 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
cargo test --test compress --all-features ${1-''} \
| grep 'terser__compress' \
| grep 'js .\.\. FAILED$' \
| sed -e 's!test fixture_terser__compress__!!' \
| sed -e 's! ... FAILED!!' \
| sed -e 's!__!/!g' \
| sed -e 's!_js!.js!' \
>> tests/ignored.txt
./scripts/sort.sh