Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
Harald Welte | 91d4ec7 | 2019-05-10 16:20:54 +0200 | [diff] [blame] | 5 | if [ ! -d "./pysim-testdata/" ] ; then |
Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 6 | echo "###############################################" |
Harald Welte | 91d4ec7 | 2019-05-10 16:20:54 +0200 | [diff] [blame] | 7 | echo "Please call from pySim-prog top directory" |
Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 8 | echo "###############################################" |
| 9 | exit 1 |
| 10 | fi |
| 11 | |
| 12 | virtualenv -p python2 venv --system-site-packages |
| 13 | . venv/bin/activate |
| 14 | pip install pytlv |
Philipp Maier | c5b422e | 2019-08-30 11:41:02 +0200 | [diff] [blame] | 15 | pip install pyyaml |
Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 16 | |
Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 17 | cd pysim-testdata |
| 18 | ../tests/pysim-test.sh |
| 19 | |