File: run-tests.sh

package info (click to toggle)
python-mbedtls 2.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 960 kB
  • sloc: python: 4,595; sh: 170; makefile: 18
file content (11 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -ex

echo "Index: $PIP_INDEX_URL"

python="${1:-python}"
$python -m pip install -r requirements/tests.txt
$python -m pip install --only-binary=:all: python-mbedtls
$python -B -m pytest --color=yes tests/
$python -B -m doctest README.rst