From: garciadeblas Date: Fri, 23 Dec 2016 12:37:05 +0000 (+0100) Subject: Changes in RO start_build to add compilation of the VIM connectors X-Git-Tag: v1.0.3~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F839%2F1;hp=59699d6020c0c5622282ef53996bc11d64df5a40;p=osm%2Fdevops.git Changes in RO start_build to add compilation of the VIM connectors Change-Id: I3a6d6b581b82007771a76af5ca387acce9113093 Signed-off-by: garciadeblas --- diff --git a/jenkins/RO/start_build b/jenkins/RO/start_build index 23a74c21..4db12ec7 100755 --- a/jenkins/RO/start_build +++ b/jenkins/RO/start_build @@ -32,17 +32,21 @@ INFO "starting build" INFO " cleaning .pyc" rm -f *.pyc + INFO " installing openmano packages and dependencies from current repo (--noclone)" ./scripts/install-openmano.sh --noclone --force -q + INFO " compiling *.py" -#TEMPFILE="$(mktemp -q -p . "openmanolinker.XXXXXX.py")" -#trap 'rm -f "$TEMPFILE"' EXIT -#for i in vimconn*.py; do echo "import $i" >> $TEMPFILE; done -#python $TEMPFILE && -python -m py_compile *.py && #uncomment to concatenate commands +TEMPFILE="$(mktemp -q -p . "openmanolinker.XXXXXX.py")" +trap 'rm -f "$TEMPFILE"' EXIT +for i in `ls vimconn_*.py |sed "s/\.py//"`; do echo "import $i" >> $TEMPFILE; done + +python $TEMPFILE && +python -m py_compile *.py && + INFO " basic_test" && -./test/basictest.sh --force --insert-bashrc --install-openvim --init-openvim #&& -#basic test HERE #&& #uncomment to concatenate commands +./test/basictest.sh --force --insert-bashrc --install-openvim --init-openvim #&& #uncomment to add new tests +# OTHER TESTS HERE RC=$? INFO "done, RC=$RC"