mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
33a43f85b1
swc_ecma_minifier: - Implement more rules. swc_ecma_transforms_base: - `resolver`: Fix syntax context of catch block. swc_ecma_transforms_optimization: - `expr_simplifier`: Fix a bug related to `this` of call expressions. - `dead_branch_remover`: Don't reduce switch cases if test is now known. - `dead_branch_remover`: Don't break `&&`.
15 lines
332 B
Bash
Executable File
15 lines
332 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
export SWC_RUN=0
|
|
|
|
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 |