File: control

package info (click to toggle)
napari-console 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 216 kB
  • sloc: python: 235; makefile: 166
file content (25 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Test-Command: set -efu
 ; for py in $(py3versions -r 2>/dev/null)
 ; do cp -r napari_console/_tests "$AUTOPKGTEST_TMP" || true
 ; cd "$AUTOPKGTEST_TMP"
 ; export DISPLAY=:99.0
 ; XDG_BASE="$AUTOPKGTEST_TMP/.xdg"
 ; export XDG_CACHE_HOME="$XDG_BASE/cache"
 ; export XDG_DATA_HOME="$XDG_BASE/data"
 ; export XDG_CONFIG_HOME="$XDG_BASE/config"
 ; export XDG_STATE_HOME="$XDG_BASE/state"
 ; /sbin/start-stop-daemon --start --quiet --pidfile $AUTOPKGTEST_TMP/custom_xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99
 ; /sbin/start-stop-daemon --start --quiet --pidfile $AUTOPKGTEST_TMP/custom_herbstluftwm.pid --make-pidfile --background --exec /usr/bin/herbstluftwm -- --replace
 ; echo "Testing with $py:"
 ; $py -m pytest --verbosity=2
 ; /sbin/start-stop-daemon --stop --quiet --pidfile $AUTOPKGTEST_TMP/custom_herbstluftwm.pid --remove-pidfile || true
 ; /sbin/start-stop-daemon --stop --quiet --pidfile $AUTOPKGTEST_TMP/custom_xvfb.pid --remove-pidfile || true
 ; done
Depends:
 herbstluftwm,
 python3-napari,
 python3-pytest,
 python3-pytestqt,
 xvfb,
 @,
Restrictions: allow-stderr