feat: support WORLD files in compressed tar format (#1297)

This commit is contained in:
Geoff Bourne
2022-01-23 22:19:25 -06:00
committed by GitHub
parent 09834c289a
commit 18d8aba20f
18 changed files with 123 additions and 65 deletions
+8 -11
View File
@@ -1,18 +1,15 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# go to script root directory
cd "$(dirname "$0")" || exit 1
# go through top level folders and trigger the tests in the subfolders
FOLDERS=$(ls)
for folder in $FOLDERS; do
# If folder is a directory
if [ -d "$folder" ]; then
cd "$folder"
if [ -f "./test.sh" ]; then
echo "Starting ${folder} Tests"
sh ./test.sh
fi
cd ..
fi
readarray -t folders < <(find . -maxdepth 2 -mindepth 2 -name test.sh -printf '%h\n')
for folder in "${folders[@]}"; do
cd "$folder"
echo "Starting ${folder} Tests"
bash ./test.sh
cd ..
done