lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/10069


Change subject: contrib: add jenkins.sh
......................................................................

contrib: add jenkins.sh

Run the tests.

Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74
---
A contrib/jenkins.sh
1 file changed, 19 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/69/10069/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
new file mode 100755
index 0000000..94da198
--- /dev/null
+++ b/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
+

--
To view, visit https://gerrit.osmocom.org/10069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74
Gerrit-Change-Number: 10069
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to