File: upstream-tests

package info (click to toggle)
python-freesasa 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 272 kB
  • sloc: python: 380; makefile: 28; sh: 10; ansic: 7
file content (16 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e -u

cp -va test.py "$AUTOPKGTEST_TMP"/

cd "$AUTOPKGTEST_TMP"

mkdir --parents lib/tests
ln -s /usr/share/freesasa/test-data lib/tests/data
ln -s /usr/share/freesasa lib/share

for py in $(py3versions -s 2>/dev/null); do
	echo "Running tests with $py:"
	$py -m pytest test.py
done