File: upstream

package info (click to toggle)
apispec 5.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 572 kB
  • sloc: python: 4,639; makefile: 151; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -eu

pyvers=$(py3versions -r 2>/dev/null)

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

PYTEST_MATCH="not test_openapi_tools_validate_v3 and not test_openapi_tools_validate_v2"
for py in ${pyvers}; do
  echo "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-"
  printf '$ %s\n' "${py} -m pytest -k \"${PYTEST_MATCH}\" tests"
  ${py} -m pytest -k "${PYTEST_MATCH}" tests
done