git @ Cat's Eye Technologies ZOWIE / fe9d60c
Run the tests with any of python2, or python3, or zowie-c. Chris Pressey 11 months ago
1 changed file(s) with 12 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/sh
11
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
39 if [ -x bin/zowie-c ]; then
410 APPLIANCES="$APPLIANCES tests/appliances/zowie-c.md"
511 fi
612
13 if [ "x$APPLIANCES" = "x" ]; then
14 echo "No suitable Python versions or RPython-compiled executables found."
15 exit 1
16 fi
17
718 falderal $APPLIANCES tests/ZOWIE.md