mirror of https://gerrit.osmocom.org/pysim
contrib: add jenkins.sh
Run the tests. Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74
This commit is contained in:
parent
7f340851fc
commit
4731232aae
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -d "$HOME/pysim-testdata/" ] ; then
|
||||
echo "###############################################"
|
||||
echo "Please create testdata in $HOME/pysim-testdata!"
|
||||
echo "###############################################"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
virtualenv -p python2 venv --system-site-packages
|
||||
. venv/bin/activate
|
||||
pip install pytlv
|
||||
|
||||
cp -a "$HOME/pysim-testdata/" pysim-testdata/
|
||||
cd pysim-testdata
|
||||
../tests/pysim-test.sh
|
||||
|
Loading…
Reference in New Issue