dropwatch: make check starts a daemon which does not stop: Skip it (#26164)

dropwatch is a network packet drop checker and it's make check starts
a daemon which does not terminate.

- Skip this test to not block builds.
- Add depends_on('pkgconfig', type='build')
  It is needed in case the host does not have pkg-config installed.
- Remove the depends_on('m4', type='build'):
  The depends_on('autoconf', type='build') pulls m4 as it needs it.
This commit is contained in:
bernhardkaindl 2021-09-26 10:32:04 +02:00 committed by GitHub
parent 2154786b61
commit a947680e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ class Dropwatch(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('pkgconfig', type='build')
depends_on('libnl')
depends_on('libpcap')
depends_on('binutils')
@ -29,3 +29,7 @@ class Dropwatch(AutotoolsPackage):
def autoreconf(self, spec, prefix):
bash = which('bash')
bash('./autogen.sh')
def check(self):
"""`make check` starts a daemon which does not terminate, blocking the builds"""
pass