diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-11-20 16:37:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 16:37:09 -0800 |
commit | 21888c253f775047bcfac28e8110abdcad9d6bcb (patch) | |
tree | 18b7cf5d6b76a554401d7edb3601fe7be9ae8739 /scripts/test/spectest.js | |
parent | f17f8f927c96c2e6ec25b4c2dbb8b9d70f7af9b7 (diff) | |
download | binaryen-21888c253f775047bcfac28e8110abdcad9d6bcb.tar.gz binaryen-21888c253f775047bcfac28e8110abdcad9d6bcb.tar.bz2 binaryen-21888c253f775047bcfac28e8110abdcad9d6bcb.zip |
Simplify test scripts (NFC) (#2457)
This makes test scripts simpler by reducing loop depths and extracting
repeating code into methods or variables.
- `get_tests` returns a list of tests with specified extensions. This
includes files with a full path rather than just file names.
- Reduces loop depths by using early exits and `get_tests`.
Diffstat (limited to 'scripts/test/spectest.js')
0 files changed, 0 insertions, 0 deletions