contrib: add jenkins.sh
Run the tests. Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74
This commit is contained in:
19
contrib/jenkins.sh
Executable file
19
contrib/jenkins.sh
Executable file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user