diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-07-22 13:59:51 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2022-07-22 13:59:51 -0700 |
| commit | 65c04727017a98aaa41508a43c70454a2c7ee3c9 (patch) | |
| tree | 555798a49c806b49581e7e8a663c0946d1a4bce9 /test | |
| parent | 3dbe9cba43dda7bd22cb39d691732d7d84cf6265 (diff) | |
test: sort tests prior to running
Diffstat (limited to 'test')
| -rwxr-xr-x | test/run-all.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/run-all.sh b/test/run-all.sh index 5bfbee8c3..be660f27f 100755 --- a/test/run-all.sh +++ b/test/run-all.sh @@ -16,10 +16,11 @@ IMAGE=$(docker build --file ${DIR}/Dockerfile -q ${DIR}) # this less esoterically if we ever wanted. find ${DIR}/cases \ -type f \ - -name '*.sh' \ - -exec \ + -name '*.sh' | \ + sort | \ + xargs \ + -I '{}' \ ${DIR}/run-host.sh \ --case '{}' \ --rewrite-abs-path \ - $@ \ - ';' + $@ |
