blob: 1eb8edbd6918037945f48d4bcd89ee96c781944e [file] [log] [blame]
tomcaf3bf72014-09-23 13:20:53 -07001#!/bin/bash
2#-------------------------------------------------------------------------------
3# Launches the ONOS tests on the current cell environment.
4#-------------------------------------------------------------------------------
5
6[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7. $ONOS_ROOT/tools/build/envDefaults
8
9nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
10
11onos-package
Yuta HIGUCHI6b9c9b12014-09-29 19:13:37 -070012for node in $nodes; do (printf "%s: %s\n" "$node" "`onos-install -f $node`")& done
tomcaf3bf72014-09-23 13:20:53 -070013for node in $nodes; do onos-wait-for-start $node; done