While I'm at it with tidying up the Dockerfiles, create a ttcn3-docker-run.sh with shared run code. Related: OS#5017 Change-Id: Id90769707158f0488eca2313c57b99ea7a4a27c8changes/22/22822/2
parent
914a486ef1
commit
2b38b8e779
@ -0,0 +1,23 @@ |
||||
#!/bin/sh |
||||
if [ $# -lt 2 ]; then |
||||
echo |
||||
echo "usage: ttcn3-docker-run SUBDIR SUITE" |
||||
echo "arguments:" |
||||
echo " SUBDIR: directory in osmo-ttcn3-hacks, e.g. 'msc'" |
||||
echo " SUITE: name of the testsuite, e.g. 'MSC_Tests'" |
||||
echo |
||||
exit 1 |
||||
fi |
||||
|
||||
set -x |
||||
SUBDIR=$1 |
||||
SUITE=$2 |
||||
|
||||
cd /data |
||||
|
||||
/osmo-ttcn3-hacks/start-testsuite.sh "/osmo-ttcn3-hacks/$SUBDIR/$SUITE" |
||||
exit_code=$? |
||||
|
||||
/osmo-ttcn3-hacks/log_merge.sh "$SUITE" --rm |
||||
|
||||
exit $exit_code |
Loading…
Reference in new issue