blob: 393e524f96effa3680ffc876b7f969ec33e97496 [file] [log] [blame]
Ray Milkey3aa8af52018-03-09 09:10:08 -08001#!/bin/bash
2
3# exit on errors
4set -eu -o pipefail
5
6# initialize build environment
7ONOS_ROOT=`pwd`
8. tools/build/envDefaults
9
10# initialize development environment for STC
11. tools/dev/bash_profile
12
13
14# always free the cell when exiting
15function cleanup {
16 cell return
17}
18
19trap cleanup EXIT
20
21# grab a cell to run on
22cell borrow
23
24# build onos bits
25onos-buck build onos
26
27# set up STC parameters
28topo default
29export stcDumpLogs=true
30export stcColor="false"
31export stcHaltOnError=true
32export TERM=vt100
33
34# run STC
35stc