aboutsummaryrefslogtreecommitdiffstats
path: root/coverage/scripts/run-parts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/scripts/run-parts.sh')
-rwxr-xr-xcoverage/scripts/run-parts.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/coverage/scripts/run-parts.sh b/coverage/scripts/run-parts.sh
new file mode 100755
index 00000000..a34bf8dd
--- /dev/null
+++ b/coverage/scripts/run-parts.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+export PORT=$1
+export TOKEN=$2
+export URL=localhost:$PORT
+export WSURL="$URL/api?token=$TOKEN"
+export R=$(realpath $(dirname $0)/..)
+
+ls $R/scripts/[0-9][0-9]-*.sh |
+sort -n |
+while read x
+do
+ echo
+ echo
+ echo
+ echo
+ echo
+ echo
+ echo ===========================================================================
+ echo ===========================================================================
+ echo ==
+ echo == $(basename $x)
+ echo ==
+ echo ===========================================================================
+ $x
+done