File: upstream-tests

package info (click to toggle)
git-repo-updater 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 140 kB
  • sloc: python: 568; sh: 12; makefile: 4
file content (18 lines) | stat: -rwxr-xr-x 274 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -efu

if [ -z "$AUTOPKGTEST_TMP" ]; then
    AUTOPKGTEST_TMP=tmp
    mkdir -p ${AUTOPKGTEST_TMP}
fi

SRCDIR=$(pwd)

cp -rv ${SRCDIR}/gitup/test ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
find .

for py in $(py3versions -s); do
    $py -m pytest -v -s test
done