summaryrefslogtreecommitdiff
path: root/scripts/test/support.py
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-11-20 16:37:09 -0800
committerGitHub <noreply@github.com>2019-11-20 16:37:09 -0800
commit21888c253f775047bcfac28e8110abdcad9d6bcb (patch)
tree18b7cf5d6b76a554401d7edb3601fe7be9ae8739 /scripts/test/support.py
parentf17f8f927c96c2e6ec25b4c2dbb8b9d70f7af9b7 (diff)
downloadbinaryen-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/support.py')
0 files changed, 0 insertions, 0 deletions