blob: b6f4b200062f15417523663143e09a093bb67bd2 [file] [log] [blame]
tomcaf3bf72014-09-23 13:20:53 -07001#!/bin/bash
Pavlin Radoslavov91413792014-10-15 11:00:32 -07002# -----------------------------------------------------------------------------
tomcaf3bf72014-09-23 13:20:53 -07003# Launches the ONOS tests on the current cell environment.
Pavlin Radoslavov91413792014-10-15 11:00:32 -07004# -----------------------------------------------------------------------------
tomcaf3bf72014-09-23 13:20:53 -07005
Brian O'Connorf5d93632015-09-04 20:18:31 -07006set -e
7
tomcaf3bf72014-09-23 13:20:53 -07008[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
9. $ONOS_ROOT/tools/build/envDefaults
10
11nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
12
Thomas Vachuskaabb21392016-04-01 13:08:09 -070013onos-package && stc prerequisites && stc setup
Thomas Vachuskab105fd42014-10-20 09:02:27 -070014