You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
osmo-python-tests/contrib/jenkins.sh

20 lines
598 B

#!/bin/sh
set -ex
COM_FLAGS='-m compileall'
rm -rf ./build
PY3=python3
PY3_LIST="osmopy scripts/osmo_ctrl.py scripts/osmo_rate_ctr2csv.py scripts/osmodumpdoc.py scripts/osmotestvty.py scripts/osmotestconfig.py scripts/osmo_interact_ctrl.py scripts/osmo_interact_vty.py scripts/osmo_verify_transcript_ctrl.py scripts/osmo_verify_transcript_vty.py scripts/soap.py scripts/twisted_ipa.py"
$PY3 ./setup.py install
$PY3 tests/test_py3.py
for f in $PY3_LIST
do
$PY3 $COM_FLAGS $f
done
# Run async server which tests scripts/osmo_ctrl.py interaction
$PY3 tests/test_py3.py
# TODO: add more tests