summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjmmv <jmmv>2011-06-14 13:55:15 +0000
committerjmmv <jmmv>2011-06-14 13:55:15 +0000
commit8d07c2c0ce619f28255ef17fa9bb42b9166ff557 (patch)
treec7d33b8b622aac56a615cdab230c45d33848caaa /devel
parentb996eab76fd7fa14715233d3b92c429ad3241151 (diff)
downloadpkgsrc-8d07c2c0ce619f28255ef17fa9bb42b9166ff557.tar.gz
Update to 0.14:
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/atf/Makefile7
-rw-r--r--devel/atf/PLIST4
-rw-r--r--devel/atf/buildlink3.mk16
-rw-r--r--devel/atf/distinfo8
4 files changed, 27 insertions, 8 deletions
diff --git a/devel/atf/Makefile b/devel/atf/Makefile
index 3f5f07285fb..bbf291cd4f4 100644
--- a/devel/atf/Makefile
+++ b/devel/atf/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2011/03/31 16:30:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.17 2011/06/14 13:55:15 jmmv Exp $
#
-DISTNAME= atf-0.13
+DISTNAME= atf-0.14
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.13/
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.14/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
@@ -24,6 +24,7 @@ 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
diff --git a/devel/atf/PLIST b/devel/atf/PLIST
index 76ac092e627..aa088f227fd 100644
--- a/devel/atf/PLIST
+++ b/devel/atf/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2011/03/31 16:30:11 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.16 2011/06/14 13:55:15 jmmv Exp $
bin/atf-config
bin/atf-report
bin/atf-run
@@ -26,6 +26,7 @@ lib/libatf-c++.la
lib/libatf-c.la
lib/pkgconfig/atf-c++.pc
lib/pkgconfig/atf-c.pc
+lib/pkgconfig/atf-sh.pc
libexec/atf-check
man/man1/atf-check.1
man/man1/atf-config.1
@@ -40,6 +41,7 @@ man/man3/atf-sh-api.3
man/man4/atf-test-case.4
man/man5/atf-formats.5
man/man7/atf.7
+share/aclocal/atf-sh.m4
share/atf/atf-run.hooks
share/atf/libatf-sh.subr
share/doc/atf/AUTHORS
diff --git a/devel/atf/buildlink3.mk b/devel/atf/buildlink3.mk
new file mode 100644
index 00000000000..599fd0dc123
--- /dev/null
+++ b/devel/atf/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2011/06/14 13:55:15 jmmv Exp $
+
+BUILDLINK_TREE+= atf
+
+.if !defined(ATF_BUILDLINK3_MK)
+ATF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.atf+= atf>=0.14
+# The atf-c and atf-c++ libraries are installed in their static form only,
+# which means that we could have a build-time dependency only on atf...
+# Unfortunately, test programs using atf-sh still need a full dependency.
+#BUILDLINK_DEPMETHOD.atf?= build
+BUILDLINK_PKGSRCDIR.atf?= ../../devel/atf
+.endif # ATF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -atf
diff --git a/devel/atf/distinfo b/devel/atf/distinfo
index 5ff09c054b1..98c756d6dc9 100644
--- a/devel/atf/distinfo
+++ b/devel/atf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2011/03/31 16:30:11 jmmv Exp $
+$NetBSD: distinfo,v 1.14 2011/06/14 13:55:15 jmmv Exp $
-SHA1 (atf-0.13.tar.gz) = cc31cd0b58015e1bc581792c347e5d4588f4a475
-RMD160 (atf-0.13.tar.gz) = 0e76d1876d61a7edb21a006723ce0327c82edead
-Size (atf-0.13.tar.gz) = 613264 bytes
+SHA1 (atf-0.14.tar.gz) = 657639873383a4fcc192a551c0fee3763f85454d
+RMD160 (atf-0.14.tar.gz) = 8340c75d85f8973ecb4634794fa9de38b08f0ad1
+Size (atf-0.14.tar.gz) = 617893 bytes