mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
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@gmail.com>
This commit is contained in:
parent
55a23d6dbb
commit
670c68d144
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321053
@ -915,6 +915,7 @@
|
||||
SUBDIR += kscope
|
||||
SUBDIR += kyra
|
||||
SUBDIR += kyua
|
||||
SUBDIR += kyua-atf-compat
|
||||
SUBDIR += kyua-testers
|
||||
SUBDIR += lasi
|
||||
SUBDIR += lcov
|
||||
|
45
devel/kyua-atf-compat/Makefile
Normal file
45
devel/kyua-atf-compat/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# Created by: Alan Somers <asomers@freebsd.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= kyua-atf-compat
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
PROJECTHOST= kyua
|
||||
|
||||
MAINTAINER= asomers@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>
|
2
devel/kyua-atf-compat/distinfo
Normal file
2
devel/kyua-atf-compat/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (kyua-atf-compat-0.1.tar.gz) = dd3f647ec015b4d4595d1f16ad79673b66c44f6e19cb9176dfcf4fc9d2cfd8e8
|
||||
SIZE (kyua-atf-compat-0.1.tar.gz) = 73743
|
12
devel/kyua-atf-compat/pkg-descr
Normal file
12
devel/kyua-atf-compat/pkg-descr
Normal file
@ -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/
|
5
devel/kyua-atf-compat/pkg-plist
Normal file
5
devel/kyua-atf-compat/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/atf-report
|
||||
bin/atf-run
|
||||
bin/atf2kyua
|
||||
@dirrmtry tests/kyua-atf-compat
|
||||
@dirrmtry tests
|
Loading…
Reference in New Issue
Block a user