File: run-pytest

package info (click to toggle)
python-characteristic 14.3.0-7
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 248 kB
  • sloc: python: 952; makefile: 148; sh: 5
file content (11 lines) | stat: -rwxr-xr-x 273 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
set -e

# we want to run the pytest test suite, but we do not want it running
# from the main working directory (we want it to look for the
# installed package)

for py3vers in $(py3versions -s); do
    echo "Testing with $py3vers:"
    $py3vers -m pytest
done