blob: 3f4fd410180a5db1e7320d5dbae63cb897f71c27 [file] [log] [blame]
#!/bin/bash
# -----------------------------------------------------------------------------
# Packages ONOS test facilities into onos-test.tar.gz
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
cd $ONOS_ROOT && onos-buck build //:onos-test --show-output && \
rm -f $ONOS_TEST_TAR && \
ln -s $ONOS_ROOT/buck-out/gen/onos-test/onos-test-*.tar.gz $ONOS_TEST_TAR