8114aa7f28
Experimental version released on June 14th, 2011. * Added a pkg-config file for atf-sh and an aclocal file to ease the detection of atf-sh from autoconf scripts. * Made the default test case body defined by atf_sh fail. This is to ensure that test cases are properly defined in test programs and helps in catching typos in the names of the body functions. * PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero. This provides more consistent results with "normal" execution (in particular, when tests are executed detached from a terminal). * Made atf-run hardcode TZ=UTC for test cases. It used to undefine TZ, but that does not take into account that libc determines the current timezone from a configuration file. * All test programs will now print a warning when they are not run through atf-run(1) stating that this is unsupported and may deliver incorrect results. * Added support for the 'require.files' test-case property. This allows test cases to specify installed files that must be present for the test case to run. And, while doing this, add a buildlink3.mk file.
35 lines
861 B
Makefile
35 lines
861 B
Makefile
# $NetBSD: Makefile,v 1.17 2011/06/14 13:55:15 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= atf-0.14
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.14/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
|
|
COMMENT= Automated testing framework
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ARGS+= ATF_CONFSUBDIR=
|
|
CONFIGURE_ARGS+= ATF_SHELL=${SH:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
PKGCONFIG_OVERRIDE= data/atf-c.pc.in
|
|
PKGCONFIG_OVERRIDE+= data/atf-c++.pc.in
|
|
PKGCONFIG_OVERRIDE+= data/atf-sh.pc.in
|
|
|
|
PKG_SYSCONFSUBDIR= atf
|
|
|
|
XML_ENTRIES= public "-//NetBSD//DTD ATF Tests Results 0.1//EN" \
|
|
${PREFIX}/share/xml/atf/tests-results.dtd
|
|
|
|
.include "../../textproc/xmlcatmgr/catalogs.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|