Run the tests with any of python2, or python3, or zowie-c.
Chris Pressey
11 months ago
0 | 0 | #!/bin/sh |
1 | 1 | |
2 | APPLIANCES="tests/appliances/zowie.py2.md tests/appliances/zowie.py3.md" | |
2 | APPLIANCES="" | |
3 | if command -v python2 > /dev/null 2>&1; then | |
4 | APPLIANCES="$APPLIANCES tests/appliances/zowie.py2.md" | |
5 | fi | |
6 | if command -v python3 > /dev/null 2>&1; then | |
7 | APPLIANCES="$APPLIANCES tests/appliances/zowie.py3.md" | |
8 | fi | |
3 | 9 | if [ -x bin/zowie-c ]; then |
4 | 10 | APPLIANCES="$APPLIANCES tests/appliances/zowie-c.md" |
5 | 11 | fi |
6 | 12 | |
13 | if [ "x$APPLIANCES" = "x" ]; then | |
14 | echo "No suitable Python versions or RPython-compiled executables found." | |
15 | exit 1 | |
16 | fi | |
17 | ||
7 | 18 | falderal $APPLIANCES tests/ZOWIE.md |