File: python3

package info (click to toggle)
lerc 4.0.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 996 kB
  • sloc: cpp: 9,022; python: 656; makefile: 28; sh: 8
file content (12 lines) | stat: -rwxr-xr-x 210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
TESTPKG=${TESTPKG:-lerc}

cd "$AUTOPKGTEST_TMP"

for py in $PYS; do
    echo "=== $py ==="
    $py -c "import lerc; assert lerc.test() == 0"
done