<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10069">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib: add jenkins.sh<br><br>Run the tests.<br><br>Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74<br>---<br>A contrib/jenkins.sh<br>1 file changed, 19 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/69/10069/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh</span><br><span>new file mode 100755</span><br><span>index 0000000..94da198</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/jenkins.sh</span><br><span>@@ -0,0 +1,19 @@</span><br><span style="color: hsl(120, 100%, 40%);">+#!/bin/sh</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+set -e</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+if [ ! -d "$HOME/pysim-testdata/" ] ; then</span><br><span style="color: hsl(120, 100%, 40%);">+      echo "###############################################"</span><br><span style="color: hsl(120, 100%, 40%);">+      echo "Please create testdata in $HOME/pysim-testdata!"</span><br><span style="color: hsl(120, 100%, 40%);">+      echo "###############################################"</span><br><span style="color: hsl(120, 100%, 40%);">+      exit 1</span><br><span style="color: hsl(120, 100%, 40%);">+fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+virtualenv -p python2 venv --system-site-packages</span><br><span style="color: hsl(120, 100%, 40%);">+. venv/bin/activate</span><br><span style="color: hsl(120, 100%, 40%);">+pip install pytlv</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+cp -a "$HOME/pysim-testdata/" pysim-testdata/</span><br><span style="color: hsl(120, 100%, 40%);">+cd pysim-testdata</span><br><span style="color: hsl(120, 100%, 40%);">+../tests/pysim-test.sh</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10069">change 10069</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10069"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9308f097bf77d82e5ef78d1be551baf127726f74 </div>
<div style="display:none"> Gerrit-Change-Number: 10069 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>