File: upstream.sh

package info (click to toggle)
python-pot 0.7.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,792 kB
  • sloc: python: 10,662; cpp: 1,149; makefile: 258; sh: 18
file content (16 lines) | stat: -rwxr-xr-x 281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e
set -u

testdir=test
cp -R $testdir $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP

for py3ver in $(py3versions -vs)
do
    echo "Running tests with Python ${py3ver}."
    /usr/bin/python${py3ver} -B -m pytest $testdir
    rm -rf .pytest_cache
    echo "**********"
done