File: testsuite

package info (click to toggle)
python-django-extensions 3.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,748 kB
  • sloc: python: 15,663; javascript: 7,354; makefile: 116; xml: 17; sh: 7
file content (10 lines) | stat: -rwxr-xr-x 254 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -eu

alias getopts="grep -v '^\s*#'"
opts=$(getopts debian/tests/options.txt)
autopkgtest_opts=$(getopts debian/tests/autopkgtest-options.txt)
cp -r tests/ ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
python3 -m pytest $opts $autopkgtest_opts