#!/bin/bash

set -eux

cd pure-python && /usr/local/cpython-3.11/bin/python3 ../test-rolling_checksum_mod --pure-python && cd ..
cd pure-python && pypy3                               ../test-rolling_checksum_mod --pure-python && cd ..
cd cython      && /usr/local/cpython-3.11/bin/python3 ../test-rolling_checksum_mod --cython      && cd ..
# Shedskin's nice stuff, but it doesn't appear to be able to export a generator to CPython. So we skip it.
# cd shedskin    && /usr/local/cpython-3.11/bin/python3 ../test-rolling_checksum_mod --shedskin    && cd ..