#!/bin/sh
set -efu

PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
TESTPKG=${TESTPKG:-pycoast}
TESTDIR=${PWD}/pycoast/tests
cd "$AUTOPKGTEST_TMP"

for py in $PYS; do
    echo "=== $py ==="
    $py -m pytest -v ${TESTDIR} \
-k "not test_add_points_pil and not test_config_file_points_and_borders_pil \
and not test_add_shapefiles_from_dict_agg \
and not test_add_shapefiles_from_dict_pil \
and not test_add_one_shapefile_from_cfg_agg \
and not test_add_one_shapefile_from_cfg_pil \
and not test_add_cities_cfg_pil \
and not test_add_cities_from_dict_pil \
and not test_add_cities_pil \
and not test_add_grid_from_dict_pil \
and not test_eastern_shapes_pil \
and not test_no_h_scratch_pil \
and not test_no_v_scratch_pil \
and not test_western_shapes_pil \
and not test_add_cities_cfg_agg \
and not test_add_cities_from_dict_agg"

done
