Osmocom docker containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
docker-playground/debian-stretch-titan/ttcn3-docker-run.sh

27 lines
500 B

#!/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
if [ -n "$WAIT_FOR_NETDEV" ]; then
pipework --wait -i "$WAIT_FOR_NETDEV"
fi
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