#!/bin/sh
set -efu

PYS=${PYS:-"$(py3versions --supported 2>/dev/null)"}
TESTPKG=${TESTPKG:-zarr}

cd "$AUTOPKGTEST_TMP"

for py in $PYS; do
    echo "=== $py ==="
    $py -m pytest --pyargs ${TESTPKG} -k "\
not [static_flat] \
and not [static_nested] \
and not [static_flat_legacy] \
and not [static_nested_legacy] \
and not test_meta_prefix_6853 \
and not test_nbytes_stored \
and not test_utf8_encoding \
and not test_hexdigest"
done
