2021-05-20 07:51:30 +03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
|
2021-06-29 10:11:22 +03:00
|
|
|
export SWC_RUN=0
|
|
|
|
|
2021-07-30 04:11:27 +03:00
|
|
|
cargo test --test compress --all-features ${1-'fixture_tests__terser__compress__'} \
|
|
|
|
| grep 'fixture_tests__terser__compress__' \
|
2021-05-20 07:51:30 +03:00
|
|
|
| grep 'js .\.\. FAILED$' \
|
2021-07-30 04:11:27 +03:00
|
|
|
| sed -e 's!test fixture_tests__terser__compress__!!' \
|
2021-05-20 07:51:30 +03:00
|
|
|
| sed -e 's! ... FAILED!!' \
|
|
|
|
| sed -e 's!__!/!g' \
|
|
|
|
| sed -e 's!_js!.js!' \
|
2022-02-28 16:49:10 +03:00
|
|
|
>> tests/TODO.txt
|
2021-05-20 07:51:30 +03:00
|
|
|
|
|
|
|
./scripts/sort.sh
|