summaryrefslogtreecommitdiff
path: root/devel/kyua-atf-compat
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2012-07-10 22:13:48 +0000
committerjmmv <jmmv@pkgsrc.org>2012-07-10 22:13:48 +0000
commitf2f73d05787d34a9c86e7afd6524e77fe5d96725 (patch)
treeca427e1f93912d861de51cbc18c139377468f8a8 /devel/kyua-atf-compat
parent02c833b3305a6b1fd3ae6fe5e64633c2198f53dd (diff)
downloadpkgsrc-f2f73d05787d34a9c86e7afd6524e77fe5d96725.tar.gz
Initial import of kyua-atf-compat, version 0.1:
Experimental version released on July 10th, 2012. This is the first public release of the kyua-atf-compat package. This first release is paired with the 0.16 release of ATF, which disables the build of atf-run and atf-report by default. The goal of this package is, then, to provide compatibility utilities for these disabled tools but using Kyua as the backend for the execution of the tests.
Diffstat (limited to 'devel/kyua-atf-compat')
-rw-r--r--devel/kyua-atf-compat/DESCR10
-rw-r--r--devel/kyua-atf-compat/Makefile41
-rw-r--r--devel/kyua-atf-compat/PLIST18
-rw-r--r--devel/kyua-atf-compat/distinfo5
4 files changed, 74 insertions, 0 deletions
diff --git a/devel/kyua-atf-compat/DESCR b/devel/kyua-atf-compat/DESCR
new file mode 100644
index 00000000000..83b62b1430b
--- /dev/null
+++ b/devel/kyua-atf-compat/DESCR
@@ -0,0 +1,10 @@
+Kyua (pronounced Q.A.) is a testing framework for both developers and
+users. Kyua is different from most other testing frameworks in that it
+puts the end user experience before anything else. There are multiple
+reasons for users to run the tests themselves, and Kyua ensures that
+they can do so in the most convenient way.
+
+This module, kyua-atf-compat, provides tools to ease the transition from
+ATF to Kyua. In particular, this includes is a tool to convert Atffile
+files to Kyuafile files in an automated manner, and drop-in replacement
+wrappers for atf-run and atf-report.
diff --git a/devel/kyua-atf-compat/Makefile b/devel/kyua-atf-compat/Makefile
new file mode 100644
index 00000000000..aabd8c8d03e
--- /dev/null
+++ b/devel/kyua-atf-compat/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2012/07/10 22:13:48 jmmv Exp $
+#
+
+DISTNAME= kyua-atf-compat-0.1
+CATEGORIES= devel
+MASTER_SITES= http://kyua.googlecode.com/files/
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://code.google.com/p/kyua/
+COMMENT= Kyua (automated testing framework) - ATF compatibility tools
+LICENSE= 2-clause-bsd
+
+DEPENDS= kyua-cli>=0.5:../../devel/kyua-cli
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+USE_TOOLS= pkg-config
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.kyua-atf-compat
+PKG_SUPPORTED_OPTIONS= tests
+PKG_SUGGESTED_OPTIONS= tests
+
+CONFIGURE_ARGS+= ATF_CONFSUBDIR=
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+PKG_SYSCONFSUBDIR= atf
+
+.include "../../mk/bsd.options.mk"
+
+.if $(PKG_OPTIONS:Mtests)
+CONFIGURE_ARGS+= --with-atf
+PLIST_SUBST+= TESTS=
+. include "../../devel/atf-libs/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-atf
+PLIST_SUBST+= TESTS=@comment
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/kyua-atf-compat/PLIST b/devel/kyua-atf-compat/PLIST
new file mode 100644
index 00000000000..0bb870457cc
--- /dev/null
+++ b/devel/kyua-atf-compat/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2012/07/10 22:13:48 jmmv Exp $
+bin/atf-report
+bin/atf-run
+bin/atf2kyua
+man/man1/atf-report.1
+man/man1/atf-run.1
+man/man1/atf2kyua.1
+share/doc/kyua-atf-compat/AUTHORS
+share/doc/kyua-atf-compat/COPYING
+share/doc/kyua-atf-compat/NEWS
+share/doc/kyua-atf-compat/README
+share/kyua-atf-compat/lib.subr
+share/kyua-atf-compat/tests_lib.subr
+${TESTS}tests/kyua-atf-compat/Kyuafile
+${TESTS}tests/kyua-atf-compat/atf-report_test
+${TESTS}tests/kyua-atf-compat/atf-run_test
+${TESTS}tests/kyua-atf-compat/atf2kyua_test
+${TESTS}tests/kyua-atf-compat/helpers
diff --git a/devel/kyua-atf-compat/distinfo b/devel/kyua-atf-compat/distinfo
new file mode 100644
index 00000000000..b74c6c557c7
--- /dev/null
+++ b/devel/kyua-atf-compat/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/07/10 22:13:48 jmmv Exp $
+
+SHA1 (kyua-atf-compat-0.1.tar.gz) = a2f8eaf02de144c4604ad2dd42b446fa8dfde00f
+RMD160 (kyua-atf-compat-0.1.tar.gz) = 5c9a6c9dd286ab373a39df4a4692622ef694a2a5
+Size (kyua-atf-compat-0.1.tar.gz) = 73743 bytes