diff options
author | Filippo Berto | 2020-08-05 21:01:15 +0200 |
---|---|---|
committer | Filippo Berto | 2020-08-05 21:01:15 +0200 |
commit | d649cd58266dcc2bc1d77d63a6f98a0fc7f1a8f4 (patch) | |
tree | 76a4d2a0d378c2cf09460e77e9fbbf3e32a1a14e | |
parent | b20e57e764ebdc5ee1d2cf9c25471bd4cbc64b24 (diff) | |
download | aur-d649cd58266dcc2bc1d77d63a6f98a0fc7f1a8f4.tar.gz |
Add tests check
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = ndn-nfd-git pkgdesc = NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol pkgver = NFD.0.7.0.r21.gc68b2e8a - pkgrel = 3 + pkgrel = 4 url = https://github.com/named-data/NFD arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ _reponame=NFD _pkgname=ndn-nfd pkgname=${_pkgname}-git pkgver=NFD.0.7.0.r21.gc68b2e8a -pkgrel=3 +pkgrel=4 # epoch= pkgdesc="NFD is a network forwarder that implements and evolves together with the Named Data Networking (NDN) protocol" arch=('i686' 'x86_64') @@ -35,7 +35,7 @@ pkgver() { prepare() { cd "${srcdir}/${_reponame}" git submodule update --init --recursive - ./waf configure --prefix=/usr + ./waf configure --prefix=/usr --with-tests } build() { @@ -43,6 +43,11 @@ build() { ./waf build } +check() { + cd "${srcdir}/${_reponame}" + ./build/unit-tests +} + package() { cd "${srcdir}/${_reponame}" ./waf install --destdir="${pkgdir}" |