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
This commit is contained in:
Harald Welte
2019-05-10 16:20:54 +02:00
parent 6e507a7786
commit 91d4ec7e7b
7 changed files with 61 additions and 3 deletions

View File

@@ -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