blob: dd7bd5f28f655fbd2e914b648173e457233802b5 [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
Claudine Chiu45312d02016-06-15 13:17:12 +000011nodes=$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2)
tomcaf3bf72014-09-23 13:20:53 -070012
Thomas Vachuskaabb21392016-04-01 13:08:09 -070013onos-package && stc prerequisites && stc setup
Thomas Vachuskab105fd42014-10-20 09:02:27 -070014