diff options
author | Padraic Fanning | 2022-04-03 14:00:55 -0400 |
---|---|---|
committer | Padraic Fanning | 2022-04-03 14:00:55 -0400 |
commit | f334f5daa591245eea91e20d4ca7f3a9cf418433 (patch) | |
tree | ad18bb43169e817ec7afbe79393607b151677c96 | |
parent | cf73dc023e18565c1e4259e44c745665a2e056da (diff) | |
download | aur-f334f5daa591245eea91e20d4ca7f3a9cf418433.tar.gz |
Use virtual framebuffer for GUI tests
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = python-gaphor pkgdesc = Simple and easy to use modeling tool for UML using GTK3 pkgver = 2.9.2 - pkgrel = 5 + pkgrel = 6 url = https://github.com/gaphor/gaphor arch = any license = Apache @@ -10,6 +10,7 @@ pkgbase = python-gaphor checkdepends = python-pytest-mock checkdepends = python-sphinx checkdepends = python-xdoctest + checkdepends = xorg-server-xvfb makedepends = gendesk makedepends = python-build makedepends = python-installer @@ -4,7 +4,7 @@ _name=gaphor pkgname=python-${_name} pkgver=2.9.2 -pkgrel=5 +pkgrel=6 pkgdesc="Simple and easy to use modeling tool for UML using GTK3" arch=('any') url="https://github.com/gaphor/${_name}" @@ -31,6 +31,7 @@ checkdepends=( 'python-pytest-mock' 'python-sphinx' 'python-xdoctest' + 'xorg-server-xvfb' ) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('687f0f9a75e72daa9535bbbc6b8592e0ee37ae9451b9085bd2d972a1fb07b51f') @@ -45,12 +46,7 @@ build() { check() { cd "${srcdir}/${_name}-${pkgver}" - pytest \ - --ignore=gaphor/plugins/console/tests/test_console.py \ - --ignore=gaphor/ui/tests/test_greeter.py \ - --ignore=gaphor/ui/tests/test_handletool.py \ - --ignore=gaphor/ui/tests/test_main.py \ - --ignore=tests/test_diagram_tools.py + xvfb-run --auto-servernum pytest } prepare() { |