Hello Jenkins Builder, I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/5482 to look at the new patch set (#5). Add scripts to compilation tests in jenkins Related: OS#2684 Change-Id: If098c20b1ad17c3868073b9fe07fd3795217c526 --- M contrib/jenkins.sh 1 file changed, 18 insertions(+), 6 deletions(-) git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/82/5482/5 diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index a60438e..c4ddf7d 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -2,14 +2,26 @@ set -ex +COM_FLAGS='-m compileall' + # FIXME: remove once python 2 support is deprecated -python2 ./setup.py install -python2 tests/test_py2.py -python2 -m compileall osmopy +PY2=python2 +PY2_LIST="osmopy scripts/osmo_ctrl.py scripts/osmodumpdoc.py scripts/osmotestvty.py scripts/osmotestconfig.py" +$PY2 ./setup.py install +$PY2 tests/test_py2.py +for f in $PY2_LIST +do + $PY2 $COM_FLAGS $f +done rm -rf ./build -python3 ./setup.py install -python3 tests/test_py3.py -python3 -m compileall osmopy +PY3=python3 +PY3_LIST="osmopy scripts/osmo_ctrl.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 # TODO: add more tests -- To view, visit https://gerrit.osmocom.org/5482 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: If098c20b1ad17c3868073b9fe07fd3795217c526 Gerrit-PatchSet: 5 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de>