svn commit: r321053 - in head/devel: . kyua-atf-compat
Bryan Drewery
bdrewery at FreeBSD.org
Sun Jun 16 14:30:01 UTC 2013
Author: bdrewery
Date: Sun Jun 16 14:29:59 2013
New Revision: 321053
URL: http://svnweb.freebsd.org/changeset/ports/321053
Log:
New port: devel/kyua-atf-compat:
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.
WWW: https://code.google.com/p/kyua/
PR: ports/177640
Submitted by: asomers
Reviewed by: Garrett Cooper <yaneurabeya at gmail.com>
Added:
head/devel/kyua-atf-compat/
head/devel/kyua-atf-compat/Makefile (contents, props changed)
head/devel/kyua-atf-compat/distinfo (contents, props changed)
head/devel/kyua-atf-compat/pkg-descr (contents, props changed)
head/devel/kyua-atf-compat/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Jun 16 14:22:13 2013 (r321052)
+++ head/devel/Makefile Sun Jun 16 14:29:59 2013 (r321053)
@@ -915,6 +915,7 @@
SUBDIR += kscope
SUBDIR += kyra
SUBDIR += kyua
+ SUBDIR += kyua-atf-compat
SUBDIR += kyua-testers
SUBDIR += lasi
SUBDIR += lcov
Added: head/devel/kyua-atf-compat/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/kyua-atf-compat/Makefile Sun Jun 16 14:29:59 2013 (r321053)
@@ -0,0 +1,45 @@
+# Created by: Alan Somers <asomers at freebsd.org>
+# $FreeBSD$
+
+PORTNAME= kyua-atf-compat
+PORTVERSION= 0.1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+PROJECTHOST= kyua
+
+MAINTAINER= asomers at freebsd.org
+COMMENT= Kyua (automated testing framework) - ATF compatibility tools
+
+LICENSE= BSD
+
+RUN_DEPENDS= kyua:${PORTSDIR}/devel/kyua
+
+GNU_CONFIGURE= yes
+USES= pkgconfig
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+CONFIGURE_ARGS+= --docdir=${DOCSDIR}
+# TODO: install the tests, once FreeBSD has a system for ports to install tests
+CONFIGURE_ARGS+= --without-atf
+
+.if ! ${PORT_OPTIONS:MDOCS}
+MAKE_FLAGS+= doc_DATA=
+.endif
+PLIST_SUBST+= TESTS="@comment "
+
+PORTDATA= lib.subr tests_lib.subr
+PORTDOCS= AUTHORS COPYING NEWS README
+MAN1= atf-report.1 atf-run.1 atf2kyua.1
+
+# Eliminate empty directories
+remove-docsdir: .SILENT
+ ${RMDIR} ${DOCSDIR}
+
+.if ! ${PORT_OPTIONS:MDOCS}
+post-install: remove-docsdir
+.endif
+
+.include <bsd.port.mk>
Added: head/devel/kyua-atf-compat/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/kyua-atf-compat/distinfo Sun Jun 16 14:29:59 2013 (r321053)
@@ -0,0 +1,2 @@
+SHA256 (kyua-atf-compat-0.1.tar.gz) = dd3f647ec015b4d4595d1f16ad79673b66c44f6e19cb9176dfcf4fc9d2cfd8e8
+SIZE (kyua-atf-compat-0.1.tar.gz) = 73743
Added: head/devel/kyua-atf-compat/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/kyua-atf-compat/pkg-descr Sun Jun 16 14:29:59 2013 (r321053)
@@ -0,0 +1,12 @@
+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.
+
+WWW: https://code.google.com/p/kyua/
Added: head/devel/kyua-atf-compat/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/kyua-atf-compat/pkg-plist Sun Jun 16 14:29:59 2013 (r321053)
@@ -0,0 +1,5 @@
+bin/atf-report
+bin/atf-run
+bin/atf2kyua
+ at dirrmtry tests/kyua-atf-compat
+ at dirrmtry tests
More information about the svn-ports-head
mailing list