blob: 5ba2c8d73d22a08a2f543a9d1f42ae10db890972 [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
Daniel Willmannde07b952020-10-19 10:32:34 +020012virtualenv -p python3 venv --system-site-packages
Alexander Couzens47312322018-07-19 23:31:39 +020013. venv/bin/activate
14pip install pytlv
Philipp Maierc5b422e2019-08-30 11:41:02 +020015pip install pyyaml
Alexander Couzens47312322018-07-19 23:31:39 +020016
Alexander Couzens47312322018-07-19 23:31:39 +020017cd pysim-testdata
18../tests/pysim-test.sh
19