blob: b6f4b200062f15417523663143e09a093bb67bd2 [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Launches the ONOS tests on the current cell environment.
# -----------------------------------------------------------------------------
set -e
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
onos-package && stc prerequisites && stc setup