Thomas Vachuska | 734b749 | 2015-03-11 20:42:07 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # ----------------------------------------------------------------------------- |
| 3 | # Packages ONOS test facilities into onos-test.tar.gz |
| 4 | # ----------------------------------------------------------------------------- |
| 5 | |
Thomas Vachuska | 734b749 | 2015-03-11 20:42:07 -0700 | [diff] [blame] | 6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
Thomas Vachuska | 9ac244b | 2017-03-20 16:03:33 -0700 | [diff] [blame] | 7 | . $ONOS_ROOT/tools/build/envDefaults |
| 8 | |
| 9 | cd $ONOS_ROOT && onos-buck build //:onos-test --show-output && \ |
| 10 | rm -f $ONOS_TEST_TAR && \ |
| 11 | ln -s $ONOS_ROOT/buck-out/gen/onos-test/onos-test-*.tar.gz $ONOS_TEST_TAR |