#!/bin/sh
SKIPPED_TESTS="     --ignore *TestBarrier.test_timeout     --ignore ExecutorDeadlockTest     --ignore ExecutorShutdownTest     --ignore ProcessPoolShutdownTest     --ignore ThreadPoolShutdownTest     --ignore test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME     --ignore test_active_children     --ignore test_default_timeout     --ignore test_input_no_stdout_fileno     --ignore test_many_processes     --ignore test_only_active_thread     --ignore test_process_time     --ignore test_storlines     --ignore test_thread_time     --ignore test_wait_integer     --ignore test_write_read_append       --ignore test_bang_completion_without_do_shell       --ignore test_write_read_limited_history       --ignore test_cursor_back_write       --ignore test_find_library_with_gcc     --ignore test_find_library_with_ld       --ignore test_sysconfigdata_json      -x test__locale     -x test_c_locale_coercion     -x test_locale     -x test_os test_re     -x test__xxsubinterpreters     -x test_threading     --ignore test.test_strptime.StrptimeTests.test_date_locale2     --ignore test.test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym "
{ SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test $SKIPPED_TESTS -v -j 4 || echo "FAIL: python3" ; } | sed -u -e '/\.\.\. ok/ s/^/PASS: /g' -r -e '/\.\.\. (ERROR|FAIL)/ s/^/FAIL: /g' -e '/\.\.\. skipped/ s/^/SKIP: /g' -e 's/ \.\.\. ok//g' -e 's/ \.\.\. ERROR//g' -e 's/ \.\.\. FAIL//g' -e 's/ \.\.\. skipped//g'
