#!/bin/sh

set -e

cp -r t setup.cfg manage.py ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
for p in $(py3versions -s); do
    # HumanReadableTestCase::test_long_name relies on locale-dependent
    # formatting.
    localehelper LC_ALL=en_US.UTF-8 $p -m pytest -p celery.contrib.pytest -k "not test_heap_always_return_the_first_item and not test_run_task and not test_run_tasks"
done
