Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2019 17:52:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 237129] sys.netmap.ctrl-api-test.main fails on ^/stable/11 and ^/stable/12 i386 because the kernel lacks netmap support
Message-ID:  <bug-237129-32464-SJh38OFKnk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237129-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237129-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237129

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Tue Apr  9 17:52:12 UTC 2019
New revision: 346061
URL: https://svnweb.freebsd.org/changeset/base/346061

Log:
  Polish netmap(4) testcases a bit

  1. Not all kernels have netmap(4) support. Check for netmap(4) support before
     attempting to run the tests via the `PLAIN_REQUIRE_KERNEL_MODULE(..)`
macro.
  2. Libraries shouldn't be added to LDFLAGS; they should be added to LIBADD
     instead. This allows the build system to evaluate dependencies for sanity.
  3. Sort some of the Makefile variables per bsd.README.

  1., in particular, will resolve failures when running this testcase on
kernels
  lacking netmap(4) support, e.g., the i386 GENERIC kernels on ^/stable/11 and
  ^/stable/12.

  PR:           237129
  Reviewed by:  vmaffione
  Approved by:  emaste (mentor)
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D19864

Changes:
  head/tests/sys/netmap/Makefile
  head/tests/sys/netmap/ctrl-api-test.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237129-32464-SJh38OFKnk>