svn commit: r371764 - in head/devel/kyua: . files

Julio Merino jmmv at FreeBSD.org
Thu Oct 30 16:42:23 UTC 2014


Author: jmmv (src committer)
Date: Thu Oct 30 16:42:21 2014
New Revision: 371764
URL: https://svnweb.freebsd.org/changeset/ports/371764
QAT: https://qat.redports.org/buildarchive/r371764/

Log:
  Update devel/kyua to 0.11.
  
  Released on October 23rd, 2014.
  
  * Added support to print the details of all test cases (metadata and
    their output) to 'report'.  This is via a new '--verbose' flag which
    replaces the previous '--show-context'.
  
  * Added support to specify the amount of physical disk space required
    by a test case.  This is in the form of a new "required_disk_space"
    metadata property, which can also be provided by ATF test cases as
    "require.diskspace".
  
  * Assimilated the contents of all the kyua-*-tester(1) and
    kyua-*-interface(7) manual pages into more relevant places.  In
    particular, added more details on test program registration and their
    metadata to kyuafile(5), and added kyua-test-isolation(7) describing
    the isolation features of the test execution.
  
  * Assimilated the contents of all auxiliary manual pages, including
    kyua-build-root(7), kyua-results-files(7), kyua-test-filters(7) and
    kyua-test-isolation(7), into the relevant command-specific manual
    pages.  This is for easier discoverability of relevant information
    when reading how specific Kyua commands work.
  
  * Issue 30: Plumbed through support to query configuration variables
    from ATF's test case heads.  This resolves the confusing situation
    where test cases could only do this from their body and cleanup
    routines.
  
  * Issue 49: Extended 'report' to support test case filters as
    command-line arguments.  Combined with '--verbose', this allows
    inspecting the details of a test case failure after execution.
  
  * Issue 55: Deprecated support for specifying test_suite overrides on
    a test program basis.  This idiom should not be used but support for
    it remains in place.
  
  * Issue 72: Added caching support to the getcwd(3) test in configure so
    that the result can be overriden for cross-compilation purposes.
  
  * Issue 83: Changed manual page headings to include a "kyua" prefix in
    their name.  This prevents some possible confusion when displaying,
    for example, the "kyua-test" manual page with a plain name of "test".
  
  * Issue 84: Started passing test-suite configuration variables to plain
    and TAP test programs via the environment.  The name of the
    environment variables set this way is prefixed by TEST_ENV_, so a
    configuration variable of the form
    'test_suites.some_name.allow_unsafe_ops=yes' in kyua.conf becomes
    'TEST_ENV_allow_unsafe_ops=YES' in the environment.
  
  * Issue 97 and 116: Fixed the build on Illumos.
  
  * Issue 102: Set TMPDIR to the test case's work directory when running
    the test case.  If the test case happens to use the mktemp(3) family
    of functions (due to misunderstandings on how Kyua works or due to
    the reuse of legacy test code), we don't want it to easily escape the
    automanaged work directory.
  
  * Issue 103: Started being more liberal in the parsing of TAP test
    results by treating the number in 'ok' and 'not ok' lines as optional.
  
  * Issue 105: Started using tmpfs instead of md as a temporary file
    system for tests in FreeBSD so that we do not leak md(4) devices.
  
  * Issue 109: Changed the privilege dropping code to start properly
    dropping group privileges when unprivileged_user is set.  Also fixes
    testers/run_test:fork_wait__unprivileged_group.
  
  * Issue 110: Changed 'help' to display version information and clarified
    the purpose of the 'about' command in its documentation.
  
  * Issue 111: Fixed crash when defining a test program in a Kyuafile that
    has not yet specified the test suite name.
  
  * Issue 114: Improved the kyuafile(5) manual page by clarifying the
    restrictions of the include() directive and by adding abundant
    examples.
  
  Differential Revision:	https://reviews.freebsd.org/D1002
  Approved by:	bapt

Deleted:
  head/devel/kyua/files/patch-tap-parser
Modified:
  head/devel/kyua/Makefile
  head/devel/kyua/distinfo
  head/devel/kyua/pkg-plist

Modified: head/devel/kyua/Makefile
==============================================================================
--- head/devel/kyua/Makefile	Thu Oct 30 16:41:14 2014	(r371763)
+++ head/devel/kyua/Makefile	Thu Oct 30 16:42:21 2014	(r371764)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	kyua
-PORTVERSION=	0.10
-PORTREVISION=	1
+PORTVERSION=	0.11
 PORTEPOCH=	2
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/jmmv/kyua/releases/download/${PORTNAME}-${PORTVERSION}/ \
@@ -32,8 +31,8 @@ OPTIONS_DEFAULT=TEST
 
 OPTIONS_SUB=		yes
 TEST_CONFIGURE_WITH=	atf
-TEST_BUILD_DEPENDS=	atf>=0.20:${PORTSDIR}/devel/atf
-TEST_RUN_DEPENDS=	atf>=0.20:${PORTSDIR}/devel/atf
+TEST_BUILD_DEPENDS=	atf>=0.21:${PORTSDIR}/devel/atf
+TEST_RUN_DEPENDS=	atf>=0.21:${PORTSDIR}/devel/atf
 
 .include <bsd.port.options.mk>
 

Modified: head/devel/kyua/distinfo
==============================================================================
--- head/devel/kyua/distinfo	Thu Oct 30 16:41:14 2014	(r371763)
+++ head/devel/kyua/distinfo	Thu Oct 30 16:42:21 2014	(r371764)
@@ -1,2 +1,2 @@
-SHA256 (kyua-0.10.tar.gz) = d9497e92d8ff70e6a346c42e9b2c0b66127a418295097d0bcd61721020055783
-SIZE (kyua-0.10.tar.gz) = 596671
+SHA256 (kyua-0.11.tar.gz) = 2b8b64a458b642df75086eeb73e8073d105b8d9cff04c9b1a905b68bc8502560
+SIZE (kyua-0.11.tar.gz) = 611865

Modified: head/devel/kyua/pkg-plist
==============================================================================
--- head/devel/kyua/pkg-plist	Thu Oct 30 16:41:14 2014	(r371763)
+++ head/devel/kyua/pkg-plist	Thu Oct 30 16:42:21 2014	(r371764)
@@ -4,31 +4,19 @@ libexec/kyua-atf-tester
 libexec/kyua-plain-tester
 libexec/kyua-tap-tester
 man/man1/kyua-about.1.gz
-man/man1/kyua-atf-tester.1.gz
 man/man1/kyua-config.1.gz
 man/man1/kyua-db-exec.1.gz
 man/man1/kyua-db-migrate.1.gz
 man/man1/kyua-debug.1.gz
 man/man1/kyua-help.1.gz
 man/man1/kyua-list.1.gz
-man/man1/kyua-plain-tester.1.gz
 man/man1/kyua-report-html.1.gz
 man/man1/kyua-report-junit.1.gz
 man/man1/kyua-report.1.gz
-man/man1/kyua-tap-tester.1.gz
 man/man1/kyua-test.1.gz
-man/man1/kyua-tester.1.gz
 man/man1/kyua.1.gz
-man/man5/kyua-tester-list.5.gz
-man/man5/kyua-tester-result.5.gz
 man/man5/kyua.conf.5.gz
 man/man5/kyuafile.5.gz
-man/man7/kyua-atf-interface.7.gz
-man/man7/kyua-build-root.7.gz
-man/man7/kyua-plain-interface.7.gz
-man/man7/kyua-results-files.7.gz
-man/man7/kyua-tap-interface.7.gz
-man/man7/kyua-test-filters.7.gz
 %%DATADIR%%/misc/context.html
 %%DATADIR%%/misc/index.html
 %%DATADIR%%/misc/report.css
@@ -59,23 +47,20 @@ man/man7/kyua-test-filters.7.gz
 %%TEST%%tests/kyua/cli/common_test
 %%TEST%%tests/kyua/cli/config_test
 %%TEST%%tests/kyua/cli/main_test
+%%TEST%%tests/kyua/drivers/Kyuafile
+%%TEST%%tests/kyua/drivers/list_tests_helpers
+%%TEST%%tests/kyua/drivers/list_tests_test
+%%TEST%%tests/kyua/drivers/report_junit_test
+%%TEST%%tests/kyua/drivers/scan_results_test
 %%TEST%%tests/kyua/engine/Kyuafile
 %%TEST%%tests/kyua/engine/config_test
-%%TEST%%tests/kyua/engine/context_test
-%%TEST%%tests/kyua/engine/drivers/Kyuafile
-%%TEST%%tests/kyua/engine/drivers/list_tests_helpers
-%%TEST%%tests/kyua/engine/drivers/list_tests_test
-%%TEST%%tests/kyua/engine/drivers/scan_results_test
 %%TEST%%tests/kyua/engine/exceptions_test
 %%TEST%%tests/kyua/engine/filters_test
 %%TEST%%tests/kyua/engine/kyuafile_test
-%%TEST%%tests/kyua/engine/metadata_test
-%%TEST%%tests/kyua/engine/report_junit_test
+%%TEST%%tests/kyua/engine/requirements_test
+%%TEST%%tests/kyua/engine/runner_test
 %%TEST%%tests/kyua/engine/test_case_atf_helpers
 %%TEST%%tests/kyua/engine/test_case_plain_helpers
-%%TEST%%tests/kyua/engine/test_case_test
-%%TEST%%tests/kyua/engine/test_program_test
-%%TEST%%tests/kyua/engine/test_result_test
 %%TEST%%tests/kyua/engine/testers_test
 %%TEST%%tests/kyua/examples/Kyuafile
 %%TEST%%tests/kyua/examples/syntax_test
@@ -101,6 +86,13 @@ man/man7/kyua-test-filters.7.gz
 %%TEST%%tests/kyua/integration/helpers/metadata
 %%TEST%%tests/kyua/integration/helpers/simple_all_pass
 %%TEST%%tests/kyua/integration/helpers/simple_some_fail
+%%TEST%%tests/kyua/model/Kyuafile
+%%TEST%%tests/kyua/model/context_test
+%%TEST%%tests/kyua/model/exceptions_test
+%%TEST%%tests/kyua/model/metadata_test
+%%TEST%%tests/kyua/model/test_case_test
+%%TEST%%tests/kyua/model/test_program_test
+%%TEST%%tests/kyua/model/test_result_test
 %%TEST%%tests/kyua/store/Kyuafile
 %%TEST%%tests/kyua/store/dbtypes_test
 %%TEST%%tests/kyua/store/exceptions_test
@@ -160,6 +152,7 @@ man/man7/kyua-test-filters.7.gz
 %%TEST%%tests/kyua/utils/datetime_test
 %%TEST%%tests/kyua/utils/env_test
 %%TEST%%tests/kyua/utils/format/Kyuafile
+%%TEST%%tests/kyua/utils/format/containers_test
 %%TEST%%tests/kyua/utils/format/exceptions_test
 %%TEST%%tests/kyua/utils/format/formatter_test
 %%TEST%%tests/kyua/utils/fs/Kyuafile


More information about the svn-ports-all mailing list