contrib: add jenkins.sh

Run the tests.

Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74
changes/69/10069/1
Alexander Couzens 5 years ago
parent 7f340851fc
commit 4731232aae
  1. 19
      contrib/jenkins.sh

@ -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…
Cancel
Save