diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-06-22 18:30:43 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-06-22 18:30:43 +0200 |
commit | 57e09344b57d98515bf02165e0e33a1d43134af0 (patch) | |
tree | e135a770ca7d0357c3d3ef9c25b2987fa30681ab /coverage/scripts/run-parts.sh | |
parent | 1f9e60c26a10bc4232b4827e85235dafcee17120 (diff) |
coverage: Add coverage testflounder_5.99.1flounder/5.99.15.99.1
This is a first version of the coverage tests.
Change-Id: Iec2feaba12c369b2ff5fb82e246fa0cad87813f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'coverage/scripts/run-parts.sh')
-rwxr-xr-x | coverage/scripts/run-parts.sh | 26 |
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 |