blob: fdcd0cbc7e233be9b560f4739ae49a8e2426d79c [file] [log] [blame]
Alexander Couzens47312322018-07-19 23:31:39 +02001#!/bin/sh
2
3set -e
4
Harald Welte91d4ec72019-05-10 16:20:54 +02005if [ ! -d "./pysim-testdata/" ] ; then
Alexander Couzens47312322018-07-19 23:31:39 +02006 echo "###############################################"
Harald Welte91d4ec72019-05-10 16:20:54 +02007 echo "Please call from pySim-prog top directory"
Alexander Couzens47312322018-07-19 23:31:39 +02008 echo "###############################################"
9 exit 1
10fi
11
12virtualenv -p python2 venv --system-site-packages
13. venv/bin/activate
14pip install pytlv
15
Alexander Couzens47312322018-07-19 23:31:39 +020016cd pysim-testdata
17../tests/pysim-test.sh
18