File: control

package info (click to toggle)
napari-console 0.1.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: python: 235; makefile: 170
file content (31 lines) | stat: -rw-r--r-- 1,291 bytes parent folder | download
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
26
27
28
29
30
31
Test-Command: set -efu
 ; if [ $(dpkg-architecture -q DEB_BUILD_ARCH) = s390x ]
 ; then exit 77
 ; else 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 --output $AUTOPKGTEST_TMP/custom_xvfb.log --exec /usr/bin/Xvfb -- :99
 ; /sbin/start-stop-daemon --start --quiet --pidfile $AUTOPKGTEST_TMP/custom_herbstluftwm.pid --make-pidfile --background --output $AUTOPKGTEST_TMP/custom_herbstluftwm.log --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
 ; fi
Depends:
 herbstluftwm,
 python3-napari,
 python3-pytest,
 python3-pytestqt,
 xvfb,
 @,
Restrictions:
 allow-stderr,
 skippable,