File: control

package info (click to toggle)
napari 0.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,036 kB
  • sloc: python: 112,264; xml: 72; makefile: 44; sh: 5
file content (32 lines) | stat: -rw-r--r-- 1,423 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
32
Test-Command: set -efu
 ; for py in $(py3versions -r 2>/dev/null)
 ; do cp -r src/napari/_tests src/napari/conftest.py tox.ini "$AUTOPKGTEST_TMP" || true
 ; if [ $py = python3.14 ] ; then continue ; fi
 ; 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"
 ; export DEB_HOST_ARCH=$(dpkg-architecture -q DEB_HOST_ARCH)
 ; /sbin/start-stop-daemon --start --quiet --pidfile $AUTOPKGTEST_TMP/custom_xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99
 ; sleep 5
 ; /sbin/start-stop-daemon --start --quiet --pidfile $AUTOPKGTEST_TMP/custom_herbstluftwm.pid --make-pidfile --background --exec /usr/bin/herbstluftwm -- --replace
 ; sleep 5
 ; echo "Testing with $py:"
 ; $py -m pytest --verbosity=2 -m 'not needs_network and not disable_qthread_start and not disable_qtimer_start'
 ; /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:
 dbus,
 herbstluftwm,
 python3-pytest,
 python3-pytest-pretty,
 python3-pytestqt,
 python3-qtpy-pyqt5,
 xvfb,
 @,
Restrictions: allow-stderr
Architecture: amd64 arm64 i386 ppc64el riscv64