File: python3

package info (click to toggle)
python-tornado 6.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,208 kB
  • sloc: python: 28,920; javascript: 156; sh: 100; ansic: 72; xml: 49; makefile: 49; sql: 23
file content (17 lines) | stat: -rwxr-xr-x 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -efu

export ASYNC_TEST_TIMEOUT=30

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

cd "$AUTOPKGTEST_TMP"
# subprocess tests get unexpected output if $HOME/.python_history is not readable
export HOME=$AUTOPKGTEST_TMP
# See discussion in https://bugs.debian.org/965041.
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

for py in $PYS; do
    echo "=== $py ==="
    $py /usr/lib/python3/dist-packages/tornado/test/runtests.py --verbose 2>&1
done