File: run-tests

package info (click to toggle)
pyhomematic 0.1.78-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 632 kB
  • sloc: python: 3,907; makefile: 8; sh: 7
file content (8 lines) | stat: -rw-r--r-- 303 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh
set -e
cp -r test* "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
install -d "$AUTOPKGTEST_TMP/pyhomematic/devicetypes"
ln -s /usr/lib/python3/dist-packages/pyhomematic/devicetypes/json "$AUTOPKGTEST_TMP/pyhomematic/devicetypes"
for py in $(py3versions -s); do
$py -Wd -m pytest -v -x 2>&1
done