Alexander Couzens | 4731232 | 2018-07-19 23:31:39 +0200 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | if [ ! -d "$HOME/pysim-testdata/" ] ; then | ||||
6 | echo "###############################################" | ||||
7 | echo "Please create testdata in $HOME/pysim-testdata!" | ||||
8 | echo "###############################################" | ||||
9 | exit 1 | ||||
10 | fi | ||||
11 | |||||
12 | virtualenv -p python2 venv --system-site-packages | ||||
13 | . venv/bin/activate | ||||
14 | pip install pytlv | ||||
15 | |||||
16 | cp -a "$HOME/pysim-testdata/" pysim-testdata/ | ||||
17 | cd pysim-testdata | ||||
18 | ../tests/pysim-test.sh | ||||
19 |