summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2013-02-19 05:29:15 +0000
committerjmmv <jmmv@pkgsrc.org>2013-02-19 05:29:15 +0000
commit219800b7611544e2db78fc6515de89e3ffb5a861 (patch)
treef298b79869726e9e2ce155e005cb2b6f02c13b44
parentaebe3c443dfc5ee2f663de4b5d5f5f54a91dc1e8 (diff)
downloadpkgsrc-219800b7611544e2db78fc6515de89e3ffb5a861.tar.gz
Initial import of kyua-testers, version 0.1:
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-testers, provides scriptable interfaces to interact with test programs of various kinds. The interface of such testers allows the caller to execute a single test case of a single test program in a controlled and homogeneous manner.
-rw-r--r--devel/kyua-testers/DESCR10
-rw-r--r--devel/kyua-testers/Makefile37
-rw-r--r--devel/kyua-testers/PLIST31
-rw-r--r--devel/kyua-testers/buildlink3.mk12
-rw-r--r--devel/kyua-testers/distinfo5
5 files changed, 95 insertions, 0 deletions
diff --git a/devel/kyua-testers/DESCR b/devel/kyua-testers/DESCR
new file mode 100644
index 00000000000..2b9758cedef
--- /dev/null
+++ b/devel/kyua-testers/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-testers, provides scriptable interfaces to interact
+with test programs of various kinds. The interface of such testers
+allows the caller to execute a single test case of a single test program
+in a controlled and homogeneous manner.
diff --git a/devel/kyua-testers/Makefile b/devel/kyua-testers/Makefile
new file mode 100644
index 00000000000..fa0879be4c4
--- /dev/null
+++ b/devel/kyua-testers/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2013/02/19 05:29:15 jmmv Exp $
+#
+
+DISTNAME= kyua-testers-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) - Testers
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+USE_LANGUAGES= c
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.kyua-testers
+PKG_SUPPORTED_OPTIONS= tests
+PKG_SUGGESTED_OPTIONS= tests
+
+CONFIGURE_ARGS+= --without-doxygen
+
+.include "../../mk/bsd.options.mk"
+
+.if $(PKG_OPTIONS:Mtests)
+USE_TOOLS+= pkg-config
+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-testers/PLIST b/devel/kyua-testers/PLIST
new file mode 100644
index 00000000000..7f7dc711d86
--- /dev/null
+++ b/devel/kyua-testers/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2013/02/19 05:29:15 jmmv Exp $
+lib/pkgconfig/kyua-testers.pc
+libexec/kyua-atf-tester
+libexec/kyua-plain-tester
+man/man1/kyua-atf-tester.1
+man/man1/kyua-plain-tester.1
+man/man1/kyua-tester.1
+man/man5/kyua-tester-list.5
+man/man5/kyua-tester-result.5
+man/man7/kyua-atf-interface.7
+man/man7/kyua-plain-interface.7
+share/doc/kyua-testers/AUTHORS
+share/doc/kyua-testers/COPYING
+share/doc/kyua-testers/NEWS
+share/doc/kyua-testers/README
+${TESTS}tests/kyua-testers/Kyuafile
+${TESTS}tests/kyua-testers/atf_helpers
+${TESTS}tests/kyua-testers/atf_inttest
+${TESTS}tests/kyua-testers/atf_list_test
+${TESTS}tests/kyua-testers/atf_result_test
+${TESTS}tests/kyua-testers/cli_test
+${TESTS}tests/kyua-testers/env_test
+${TESTS}tests/kyua-testers/error_test
+${TESTS}tests/kyua-testers/fs_test
+${TESTS}tests/kyua-testers/plain_helpers
+${TESTS}tests/kyua-testers/plain_inttest
+${TESTS}tests/kyua-testers/result_test
+${TESTS}tests/kyua-testers/run_test
+${TESTS}tests/kyua-testers/stacktrace_helper
+${TESTS}tests/kyua-testers/stacktrace_test
+${TESTS}tests/kyua-testers/text_test
diff --git a/devel/kyua-testers/buildlink3.mk b/devel/kyua-testers/buildlink3.mk
new file mode 100644
index 00000000000..eac029941b2
--- /dev/null
+++ b/devel/kyua-testers/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2013/02/19 05:29:15 jmmv Exp $
+
+BUILDLINK_TREE+= kyua-testers
+
+.if !defined(KYUA_TESTERS_BUILDLINK3_MK)
+KYUA_TESTERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kyua-testers+= kyua-testers>=0.1
+BUILDLINK_PKGSRCDIR.kyua-testers?= ../../devel/kyua-testers
+.endif # KYUA_TESTERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kyua-testers
diff --git a/devel/kyua-testers/distinfo b/devel/kyua-testers/distinfo
new file mode 100644
index 00000000000..12b88dd88d3
--- /dev/null
+++ b/devel/kyua-testers/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2013/02/19 05:29:15 jmmv Exp $
+
+SHA1 (kyua-testers-0.1.tar.gz) = eedfc2bf5e7929f2c97e7adaf7cda129d5fb1175
+RMD160 (kyua-testers-0.1.tar.gz) = 56fe25dd1c62da113f2f92752009bf79eec96736
+Size (kyua-testers-0.1.tar.gz) = 165554 bytes