git @ Cat's Eye Technologies Xoomonk / 4d9143e
Test under Python 2, or 3, or both, depending on what's installed. Chris Pressey 1 year, 11 days ago
4 changed file(s) with 16 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/sh
11
2 APPLIANCES='tests/appliances/xoomonk.py.md'
2 APPLIANCES=""
3 if command -v python2 > /dev/null 2>&1; then
4 APPLIANCES="$APPLIANCES tests/appliances/xoomonk.py2.md"
5 fi
6 if command -v python3 > /dev/null 2>&1; then
7 APPLIANCES="$APPLIANCES tests/appliances/xoomonk.py2.md"
8 fi
9
10 if [ "x$APPLIANCES" = "x" ]; then
11 echo "No suitable Python versions found."
12 exit 1
13 fi
314
415 falderal $APPLIANCES README.md $*
+0
-5
tests/appliances/xoomonk.py.md less more
0 -> Functionality "Interpret Xoomonk program" is implemented by
1 -> shell command "python2 src/xoomonk.py %(test-body-file)"
2
3 -> Functionality "Interpret Xoomonk program" is implemented by
4 -> shell command "python3 src/xoomonk.py %(test-body-file)"
0 -> Functionality "Interpret Xoomonk program" is implemented by
1 -> shell command "python2 src/xoomonk.py %(test-body-file)"
0 -> Functionality "Interpret Xoomonk program" is implemented by
1 -> shell command "python3 src/xoomonk.py %(test-body-file)"