mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-17 02:48:34 +03:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user