tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 1 | #!/bin/bash |
Pavlin Radoslavov | 9141379 | 2014-10-15 11:00:32 -0700 | [diff] [blame] | 2 | # ----------------------------------------------------------------------------- |
tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 3 | # Launches the ONOS tests on the current cell environment. |
Pavlin Radoslavov | 9141379 | 2014-10-15 11:00:32 -0700 | [diff] [blame] | 4 | # ----------------------------------------------------------------------------- |
tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 5 | |
Brian O'Connor | f5d9363 | 2015-09-04 20:18:31 -0700 | [diff] [blame] | 6 | set -e |
| 7 | |
tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 8 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
| 9 | . $ONOS_ROOT/tools/build/envDefaults |
| 10 | |
Claudine Chiu | 45312d0 | 2016-06-15 13:17:12 +0000 | [diff] [blame] | 11 | nodes=$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2) |
tom | caf3bf7 | 2014-09-23 13:20:53 -0700 | [diff] [blame] | 12 | |
Thomas Vachuska | abb2139 | 2016-04-01 13:08:09 -0700 | [diff] [blame] | 13 | onos-package && stc prerequisites && stc setup |
Thomas Vachuska | b105fd4 | 2014-10-20 09:02:27 -0700 | [diff] [blame] | 14 | |