[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / modules

File: [cvs.NetBSD.org] / src / tests / modules / Makefile (download)

Revision 1.8.8.1, Thu May 17 19:03:23 2012 UTC (8 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.8: +4 -2 lines

Pull up following revision(s) (requested by jmmv in ticket #8):
	tests/modules/t_abi_uvm.sh: revision 1.1
	tests/modules/k_uvm/k_uvm.c: revision 1.1
	tests/modules/k_uvm/Makefile: revision 1.1
	distrib/sets/lists/tests/module.mi: revision 1.6
	tests/modules/Makefile: revision 1.9
Add a test to ensure that PAGE_SIZE is available in kernel modules.
This test reproduces the error condition in PR port-macppc/46041 and
therefore it is an xfail in this particular platform.

# $NetBSD: Makefile,v 1.8.8.1 2012/05/17 19:03:23 riz Exp $

.include <bsd.own.mk>

TESTSDIR=	${TESTSBASE}/modules

# Ideally this test could be in the parent Makefile, which could not descend
# into this directory at all.  Unfortunately, the etc/mtree/NetBSD.dist file
# creates the 'modules' subdirectory unconditionally, which if left empty
# will confuse atf-run.  Therefore we must install, at the very least, the
# Atffile into it.
TESTS_C=	t_modctl
TESTS_C+=	t_builtin
LDADD=		-lprop
LDADD+=		-lrumpfs_kernfs -lrumpvfs -lrump -lrumpuser -lpthread

TESTS_SH=	t_abi_uvm
TESTS_SH+=	t_modload

SUBDIR=		k_helper
SUBDIR+=	k_helper2
SUBDIR+=	k_uvm

.include <bsd.test.mk>