0d4f326d17
Release date: January 18th, 2009 Status: Experimental * Make atf-exec be able to kill its child process after a certain period of time; this is controlled through the new -t option. * Change atf-sh to use atf-exec's -t option to control the test case's timeouts, instead of doing it internally. Same behavior as before, but noticeably faster. * atf-exec's -g option and atf-killpg are gone due to the previous change. * Added the atf-check(1) tool, a program that executes a given command and checks its exit code against a known value and allows the management of stdout and stderr in multiple ways. This replaces the previous atf_check function in the atf-sh library and exposes this functionality to both atf-c and atf-c++. * Added the ATF_REQUIRE family of macros to the C interface. These help in checking for fatal test conditions. The old ATF_CHECK macros now perform non-fatal checks only. I.e. by using ATF_CHECK, the test case can now continue its execution and the failures will not be reported until the end of the whole run. * Extended the amount of ATF_CHECK_* C macros with new ones to provide more features to the developer. These also have their corresponding counterparts in the ATF_REQUIRE_* family. The new macros (listing the suffixes only) are: _EQ (replaces _EQUAL), _EQ_MSG, _STREQ and _STREQ_MSG.
31 lines
775 B
Makefile
31 lines
775 B
Makefile
# $NetBSD: Makefile,v 1.8 2009/01/18 21:23:14 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= atf-0.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.6/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
|
|
COMMENT= Automated testing framework
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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
|
|
|
|
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"
|