Date: Thu, 14 Aug 2014 15:00:54 +0000 (UTC) From: Julio Merino <jmmv@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364849 - in head/devel/kyua-cli: . files Message-ID: <201408141500.s7EF0stJ040201@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmmv (src committer) Date: Thu Aug 14 15:00:54 2014 New Revision: 364849 URL: http://svnweb.freebsd.org/changeset/ports/364849 QAT: https://qat.redports.org/buildarchive/r364849/ Log: Update kyua-cli to 0.9: Experimental version released on August 8th, 2014. Major changes: The internal architecture of Kyua to record the results of test suite runs has completely changed in this release. Kyua no longer stores all the different test suite run results as different "actions" within the single store.db database. Instead, Kyua now generates a separate results file inside ~/.kyua/store/ for every test suite run. Due to the complexity involved in the migration process and the little need for it, this is probably going to be the only release where the 'db-migrate' command is able to convert an old store.db file to the new scheme. Changes in more detail: * Added the 'report-junit' command to generate JUnit XML result files. The output has been verified to work within Jenkins. * Switched to results files specific to their corresponding test suite run. The unified store.db file is now gone: 'kyua test' creates a new results file for every invocation under ~/.kyua/store/ and the 'kyua report*' commands are able to locate the latest file for a corresponding test suite automatically. * The 'db-migrate' command takes an old store.db file and generates one results file for every previously-recorded action, later deleting the store.db file. * The '--action' flag has been removed from all commands that accepted it. This has been superseded by the tests results files. * The '--store' flag that many commands took has been renamed to '--results-file' in line with the semantical changes. * The 'db-exec' command no longer creates an empty database when none is found. This command is now intended to run only over existing files. Reviewed by: bdrewery (D567) Approved by: bdrewery (ports) Deleted: head/devel/kyua-cli/files/patch-utils-config-nodes.cpp head/devel/kyua-cli/files/patch-utils-config-nodes.ipp head/devel/kyua-cli/files/patch-utils-config-tree.cpp head/devel/kyua-cli/files/patch-utils-config-tree.ipp Modified: head/devel/kyua-cli/Makefile head/devel/kyua-cli/distinfo head/devel/kyua-cli/pkg-descr head/devel/kyua-cli/pkg-plist Modified: head/devel/kyua-cli/Makefile ============================================================================== --- head/devel/kyua-cli/Makefile Thu Aug 14 14:59:26 2014 (r364848) +++ head/devel/kyua-cli/Makefile Thu Aug 14 15:00:54 2014 (r364849) @@ -2,18 +2,17 @@ # $FreeBSD$ PORTNAME= kyua-cli -PORTVERSION= 0.8 -PORTREVISION= 3 +PORTVERSION= 0.9 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} -PROJECTHOST= kyua +MASTER_SITES= https://github.com/jmmv/kyua/releases/download/${PORTNAME}-${PORTVERSION}/ \ + LOCAL/jmmv MAINTAINER= jmmv@FreeBSD.org COMMENT= Kyua (automated testing framework) - Command line interface -LICENSE= BSD +LICENSE= BSD3CLAUSE -LIB_DEPENDS= liblutok.so.3:${PORTSDIR}/devel/lutok +LIB_DEPENDS= liblutok.so:${PORTSDIR}/devel/lutok LIB_DEPENDS+= libsqlite3.so:${PORTSDIR}/databases/sqlite3 BUILD_DEPENDS= kyua-testers>=0.2:${PORTSDIR}/devel/kyua-testers RUN_DEPENDS:= ${BUILD_DEPENDS} Modified: head/devel/kyua-cli/distinfo ============================================================================== --- head/devel/kyua-cli/distinfo Thu Aug 14 14:59:26 2014 (r364848) +++ head/devel/kyua-cli/distinfo Thu Aug 14 15:00:54 2014 (r364849) @@ -1,2 +1,2 @@ -SHA256 (kyua-cli-0.8.tar.gz) = 28f90929e4b73959bdd08a1d3f5ce7e77e0e4fc9978d10b1b079160428d770b3 -SIZE (kyua-cli-0.8.tar.gz) = 496577 +SHA256 (kyua-cli-0.9.tar.gz) = 9c8c27904a8f851fe0c287c2789b4d4f504d44edf3f71b01b5f76158d6037f10 +SIZE (kyua-cli-0.9.tar.gz) = 516505 Modified: head/devel/kyua-cli/pkg-descr ============================================================================== --- head/devel/kyua-cli/pkg-descr Thu Aug 14 14:59:26 2014 (r364848) +++ head/devel/kyua-cli/pkg-descr Thu Aug 14 15:00:54 2014 (r364849) @@ -12,4 +12,4 @@ implementation of test cases in a variet In effect, Kyua is intended to be a replacement for ATF. -WWW: https://code.google.com/p/kyua/ +WWW: https://github.com/jmmv/kyua/ Modified: head/devel/kyua-cli/pkg-plist ============================================================================== --- head/devel/kyua-cli/pkg-plist Thu Aug 14 14:59:26 2014 (r364848) +++ head/devel/kyua-cli/pkg-plist Thu Aug 14 15:00:54 2014 (r364849) @@ -8,19 +8,22 @@ man/man1/kyua-debug.1.gz man/man1/kyua-help.1.gz man/man1/kyua-list.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-test.1.gz man/man1/kyua.1.gz man/man5/kyua.conf.5.gz man/man5/kyuafile.5.gz man/man7/kyua-build-root.7.gz +man/man7/kyua-results-files.7.gz man/man7/kyua-test-filters.7.gz %%DATADIR%%/misc/context.html %%DATADIR%%/misc/index.html %%DATADIR%%/misc/report.css %%DATADIR%%/misc/test_result.html %%DATADIR%%/store/migrate_v1_v2.sql -%%DATADIR%%/store/schema_v2.sql +%%DATADIR%%/store/migrate_v2_v3.sql +%%DATADIR%%/store/schema_v3.sql %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/NEWS @@ -39,30 +42,25 @@ man/man7/kyua-test-filters.7.gz %%TEST%%tests/kyua-cli/cli/cmd_about_test %%TEST%%tests/kyua-cli/cli/cmd_config_test %%TEST%%tests/kyua-cli/cli/cmd_db_exec_test -%%TEST%%tests/kyua-cli/cli/cmd_db_migrate_test %%TEST%%tests/kyua-cli/cli/cmd_debug_test %%TEST%%tests/kyua-cli/cli/cmd_help_test %%TEST%%tests/kyua-cli/cli/cmd_list_test -%%TEST%%tests/kyua-cli/cli/cmd_report_html_test -%%TEST%%tests/kyua-cli/cli/cmd_report_test %%TEST%%tests/kyua-cli/cli/cmd_test_test %%TEST%%tests/kyua-cli/cli/common_test %%TEST%%tests/kyua-cli/cli/config_test %%TEST%%tests/kyua-cli/cli/main_test %%TEST%%tests/kyua-cli/engine/Kyuafile -%%TEST%%tests/kyua-cli/engine/action_test %%TEST%%tests/kyua-cli/engine/config_test %%TEST%%tests/kyua-cli/engine/context_test %%TEST%%tests/kyua-cli/engine/drivers/Kyuafile -%%TEST%%tests/kyua-cli/engine/drivers/debug_test_test %%TEST%%tests/kyua-cli/engine/drivers/list_tests_helpers %%TEST%%tests/kyua-cli/engine/drivers/list_tests_test -%%TEST%%tests/kyua-cli/engine/drivers/run_tests_test -%%TEST%%tests/kyua-cli/engine/drivers/scan_action_test +%%TEST%%tests/kyua-cli/engine/drivers/scan_results_test %%TEST%%tests/kyua-cli/engine/exceptions_test %%TEST%%tests/kyua-cli/engine/filters_test %%TEST%%tests/kyua-cli/engine/kyuafile_test %%TEST%%tests/kyua-cli/engine/metadata_test +%%TEST%%tests/kyua-cli/engine/report_junit_test %%TEST%%tests/kyua-cli/engine/test_case_atf_helpers %%TEST%%tests/kyua-cli/engine/test_case_plain_helpers %%TEST%%tests/kyua-cli/engine/test_case_test @@ -80,6 +78,7 @@ man/man7/kyua-test-filters.7.gz %%TEST%%tests/kyua-cli/integration/cmd_help_test %%TEST%%tests/kyua-cli/integration/cmd_list_test %%TEST%%tests/kyua-cli/integration/cmd_report_html_test +%%TEST%%tests/kyua-cli/integration/cmd_report_junit_test %%TEST%%tests/kyua-cli/integration/cmd_report_test %%TEST%%tests/kyua-cli/integration/cmd_test_test %%TEST%%tests/kyua-cli/integration/global_test @@ -93,15 +92,25 @@ man/man7/kyua-test-filters.7.gz %%TEST%%tests/kyua-cli/integration/helpers/simple_all_pass %%TEST%%tests/kyua-cli/integration/helpers/simple_some_fail %%TEST%%tests/kyua-cli/store/Kyuafile -%%TEST%%tests/kyua-cli/store/backend_test %%TEST%%tests/kyua-cli/store/dbtypes_test %%TEST%%tests/kyua-cli/store/exceptions_test +%%TEST%%tests/kyua-cli/store/layout_test %%TEST%%tests/kyua-cli/store/metadata_test +%%TEST%%tests/kyua-cli/store/migrate_test +%%TEST%%tests/kyua-cli/store/read_backend_test +%%TEST%%tests/kyua-cli/store/read_transaction_test %%TEST%%tests/kyua-cli/store/schema_inttest %%TEST%%tests/kyua-cli/store/schema_v1.sql +%%TEST%%tests/kyua-cli/store/schema_v2.sql %%TEST%%tests/kyua-cli/store/testdata_v1.sql %%TEST%%tests/kyua-cli/store/testdata_v2.sql +%%TEST%%tests/kyua-cli/store/testdata_v3_1.sql +%%TEST%%tests/kyua-cli/store/testdata_v3_2.sql +%%TEST%%tests/kyua-cli/store/testdata_v3_3.sql +%%TEST%%tests/kyua-cli/store/testdata_v3_4.sql %%TEST%%tests/kyua-cli/store/transaction_test +%%TEST%%tests/kyua-cli/store/write_backend_test +%%TEST%%tests/kyua-cli/store/write_transaction_test %%TEST%%tests/kyua-cli/utils/Kyuafile %%TEST%%tests/kyua-cli/utils/auto_array_test %%TEST%%tests/kyua-cli/utils/cmdline/Kyuafile @@ -143,6 +152,7 @@ man/man7/kyua-test-filters.7.gz %%TEST%%tests/kyua-cli/utils/process/helpers %%TEST%%tests/kyua-cli/utils/process/status_test %%TEST%%tests/kyua-cli/utils/process/systembuf_test +%%TEST%%tests/kyua-cli/utils/releaser_test %%TEST%%tests/kyua-cli/utils/sanity_test %%TEST%%tests/kyua-cli/utils/signals/Kyuafile %%TEST%%tests/kyua-cli/utils/signals/exceptions_test
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408141500.s7EF0stJ040201>