Cleanup the shell scripts used to run tests on Windows

This commit is contained in:
Ondřej Surý
2020-05-27 12:23:54 +02:00
parent 54a049d94f
commit d179d12686
6 changed files with 174 additions and 96 deletions

View File

@@ -11,7 +11,7 @@
. ./conf.sh
PARALLELS=`echo $PARALLELDIRS | sed "s|\([^ ][^ ]*\)|test-\1|g;" | tr _ -`
PARALLELS=$(echo "$PARALLELDIRS" | sed "s|\([^ ][^ ]*\)|test-\1|g;" | tr _ - | tr "\n" " ")
echo ".PHONY: $PARALLELS"
echo
@@ -28,7 +28,7 @@ echo "test check: $PARALLELS"
port=${STARTPORT:-5000}
for directory in $PARALLELDIRS ; do
echo
echo "test-`echo $directory | tr _ -`: check_interfaces"
echo " @${SHELL} ./run.sh -p $port $directory 2>&1 | tee test.output.$directory"
port=`expr $port + 100`
echo "test-$(echo "$directory" | tr _ -): check_interfaces"
echo " @${SHELL} ./run.sh -r -p $port $directory 2>&1 | tee test.output.$directory"
port=$((port+100))
done