From 65c04727017a98aaa41508a43c70454a2c7ee3c9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 22 Jul 2022 13:59:51 -0700 Subject: [PATCH] test: sort tests prior to running --- test/run-all.sh | 9 +++++---- 1 file 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 \ - $@ \ - ';' + $@