← source index

gen-tests.sh

10 lines  ·  199 B  ·  bash
echo "Generating test cases..."
PYTHON=$(command -v python3 || command -v python)

if [ -z "$PYTHON" ]; then
    echo "Python 3 not found..." >&2
    exit 1
fi

(cd test && "$PYTHON" genTestData.py)