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"