tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 1 | #!/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 | |
| 9 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) |
| 10 | |
| 11 | onos-package |
Yuta HIGUCHI | 6b9c9b1 | 2014-09-29 19:13:37 -0700 | [diff] [blame^] | 12 | for node in $nodes; do (printf "%s: %s\n" "$node" "`onos-install -f $node`")& done |
tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 13 | for node in $nodes; do onos-wait-for-start $node; done |