File: python3-mbed-ls

package info (click to toggle)
python-mbed-ls 1.6.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 500 kB
  • sloc: python: 2,785; makefile: 32; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 326 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

export LC_ALL=C.UTF-8

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

SRCDIR=$(pwd)

cp -rv ${SRCDIR}/test ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}

for py in $(py3versions -s); do
    $py -m unittest discover -v -s test -p "*.py" -t ${AUTOPKGTEST_TMP}
done