File: testsuite

package info (click to toggle)
bitshuffle 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: ansic: 5,022; python: 1,156; makefile: 49; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

export HOME="${AUTOPKGTEST_TMP}"

# copy the requiered files
for d in tests;
do
    cp -av "$d" "${AUTOPKGTEST_TMP}";
done

for py in $(py3versions -s);
do
    echo "[*] testing on $py:";
    cd "${AUTOPKGTEST_TMP}";
    $py -m pytest -v -x -rs tests/ 2>&1;
done