git @ Cat's Eye Technologies ZOWIE / 144b389 test.sh
144b389

Tree @144b389 (Download .tar.gz)

test.sh @144b389raw · history · blame

#!/bin/sh

APPLIANCES=""
if command -v python2 > /dev/null 2>&1; then
    APPLIANCES="$APPLIANCES tests/appliances/zowie.py2.md"
fi
if command -v python3 > /dev/null 2>&1; then
    APPLIANCES="$APPLIANCES tests/appliances/zowie.py3.md"
fi
if [ -x bin/zowie-c ]; then
    APPLIANCES="$APPLIANCES tests/appliances/zowie-c.md"
fi

if [ "x$APPLIANCES" = "x" ]; then
    echo "No suitable Python versions or RPython-compiled executables found."
    exit 1
fi

falderal $APPLIANCES tests/ZOWIE.md