mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
15 lines
386 B
Bash
Executable File
15 lines
386 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
export SWC_RUN=0
|
|
|
|
cargo test --test compress --all-features ${1-'fixture_tests__terser__compress__'} \
|
|
| grep 'fixture_tests__terser__compress__' \
|
|
| grep 'js .\.\. FAILED$' \
|
|
| sed -e 's!test fixture_tests__terser__compress__!!' \
|
|
| sed -e 's! ... FAILED!!' \
|
|
| sed -e 's!__!/!g' \
|
|
| sed -e 's!_js!.js!' \
|
|
>> tests/TODO.txt
|
|
|
|
./scripts/sort.sh |