From cbda9712e209452e45684a2dd2c0a2e49608569c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 16 Feb 2012 01:29:52 +0100 Subject: [PATCH] Added (incomplete) check() function to development PKGBUILD. Incomplete check is still better than no check. --- PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index f7cab5fb9..973a74bfc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -21,6 +21,11 @@ build() { make } +check() { + cd "$startdir/build" + ctest -E "ObjectTest|SceneTest" # fix me! +} + package() { cd "$startdir/build" make DESTDIR="$pkgdir/" install