Thomas Vachuska

Preparing for separating STC into its own repository.

Change-Id: I1d5b0e9b117865684d48c5a23fc8ed98a0e075e1
......@@ -3,10 +3,19 @@
# System Test Coordinator
#-------------------------------------------------------------------------------
VER=1.6.0-SNAPSHOT
JAR=~/.m2/repository/org/onosproject/onlab-stc/$VER/onlab-stc-$VER.jar
VER=${STC_VERSION:-2.0}
JAR=~/.m2/repository/org/onosproject/onos-stc/$VER/onos-stc-$VER.jar
SCENARIOS=$ONOS_ROOT/tools/test/scenarios
# Download the STC binary if needed
if [ ! -f $JAR ]; then
printf "Downloading STC binary..."
aux=/tmp/stc-$$.log
mvn dependency:get -Dartifact=org.onosproject:onos-stc:$VER -Dtransitive=false -B >$aux || fgrep '[ERROR]' $aux
rm -f $aux
[ -f $JAR ] && printf "Done.\n"
fi
DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,address=5005,server=y,suspend=y"
scenario=${1:-smoke}
......