Commit b387d1c8 authored by A. Wilcox's avatar A. Wilcox Committed by Ariadne Conill

main/atk: add test suite

parent 967f38c3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=2.26.1
pkgrel=1
pkgrel=2
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://www.gtk.org/"
arch="all"
license="LGPL-2.0-or-later"
depends=""
makedepends="glib-dev gobject-introspection-dev"
makedepends="glib-dev gobject-introspection-dev musl-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -22,6 +22,14 @@ build() {
make
}
check() {
cd "$builddir"/tests
# There is no test suite runner present, but the tests are built..
for testapp in testdocument testrelation testrole teststateset testvalue; do
./$testapp
done
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment