aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-05-10 16:20:54 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-10 17:03:58 +0200
commit91d4ec7e7baa0e67e63890a962bca937bc3fab10 (patch)
treec9027a48b83a994698c82b85a756e1009189f677 /contrib
parent6e507a77864c1700e80212dfb6a03768c6439a5d (diff)
import pysim-testdata of automatic testing to this repository
This test data is used by the jenkins build verification for pySim, and it was previously located locally on the build slave. By moving the testdata to this repository, any contributor can modify both the code and the expected test results simultaneously. Change-Id: I6714b091a114035d6aab8ba750c5f2b86e438467
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 94da198..fdcd0cb 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -2,9 +2,9 @@
set -e
-if [ ! -d "$HOME/pysim-testdata/" ] ; then
+if [ ! -d "./pysim-testdata/" ] ; then
echo "###############################################"
- echo "Please create testdata in $HOME/pysim-testdata!"
+ echo "Please call from pySim-prog top directory"
echo "###############################################"
exit 1
fi
@@ -13,7 +13,6 @@ 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