diff options
author | jmmv <jmmv@pkgsrc.org> | 2011-08-24 21:04:42 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2011-08-24 21:04:42 +0000 |
commit | b7e777216991a9e7986caeb3092d479fe549ddfd (patch) | |
tree | 9aaebffc1296768957214451d6a92036057a9553 /devel | |
parent | e8032e2f447b581ed6948e5579a54b5e5b475817 (diff) | |
download | pkgsrc-b7e777216991a9e7986caeb3092d479fe549ddfd.tar.gz |
Update to 0.2:
Experimental version released on August 24th, 2011.
The biggest change in this release is the ability for Kyua to run test
programs implemented using different frameworks. What this means is
that, now, a Kyua test suite can include not only ATF-based test
programs, but also "legacy" (aka plain) test programs that do not use
any framework. I.e. if you have tests that are simple programs that
exit with 0 on success and 1 on failure, you can plug them in into a
Kyua test suite.
Other than this, there have been several user-visible changes. The most
important are the addition of the new 'config' and 'debug' subcommands
to the 'kyua' binary. The former can be used to inspect the runtime
configuration of Kyua after parsing, and the latter is useful to
interact with failing tests cases in order to get more data about the
failure itself.
Without further ado, here comes the itemized list of changes:
* Generalized the run-time engine to support executing test programs
that implement different interfaces. Test programs that use the ATF
libraries are just a special case of this. (Issue 18.)
* Added support to the engine to run "plain" test programs: i.e. test
programs that do not use any framework and report their pass/fail
status as an exit code. This is to simplify the integration of legacy
test programs into a test suite, and also to demonstrate that the
run-time engine is generic enough to support different test
interfaces. (Issue 18.)
* Added the 'debug' subcommand. This command allows end users to tweak
the execution of a specific test case and to poke into the behavior of
its execution. At the moment, all this command allows is to view the
stdout and stderr of the command in real time (which the 'test'
command currently completely hides).
* Added the 'config' subcommand. This command allows the end user to
inspect the current configuration variables after evaluation, without
having to read through configuration files. (Issue 11.)
* Removed the test_suites_var function from configuration files. This
was used to set the value of test-suite-sepecific variables, but it
was ugly-looking. It is now possible to use the more natural syntax
'test_suites.<test-suite-name>.<variable> = <value>'. (Issue 11.)
* Added a mechanism to disable the loading of configuration files
altogether. Needed for testing purposes and for scriptability.
Available by passing the '--config=none' flag.
* Enabled detection of unused parameters and variables in the code and
fixed all warnings. (Issue 23.)
* Changed the behavior of "developer mode". Compiler warnings are now
enabled unconditionally regardless of whether we are in developer mode
or not; developer mode is now only used to perform strict warning
checks and to enable assertions. Additionally, developer mode is now
only automatically enabled when building from the repository, not for
formal releases. (Issue 22.)
* Fixed many build and portability problems to Debian sid with GCC 4.6.3
and Ubuntu 10.04.1 LTS. (Issues 20, 21, 26.)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kyua-cli/Makefile | 4 | ||||
-rw-r--r-- | devel/kyua-cli/PLIST | 29 | ||||
-rw-r--r-- | devel/kyua-cli/distinfo | 8 |
3 files changed, 29 insertions, 12 deletions
diff --git a/devel/kyua-cli/Makefile b/devel/kyua-cli/Makefile index 03b9febde76..938aad92a51 100644 --- a/devel/kyua-cli/Makefile +++ b/devel/kyua-cli/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/07/08 09:49:11 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2011/08/24 21:04:42 jmmv Exp $ # -DISTNAME= kyua-cli-0.1 +DISTNAME= kyua-cli-0.2 CATEGORIES= devel MASTER_SITES= http://kyua.googlecode.com/files/ diff --git a/devel/kyua-cli/PLIST b/devel/kyua-cli/PLIST index e3c4ea57aaf..b624062e334 100644 --- a/devel/kyua-cli/PLIST +++ b/devel/kyua-cli/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/08 09:49:11 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.2 2011/08/24 21:04:42 jmmv Exp $ bin/kyua info/kyua-cli.info man/man1/kyua.1 @@ -15,26 +15,41 @@ share/kyua-cli/misc/kyuaify.sh tests/Kyuafile tests/kyua-cli/Atffile tests/kyua-cli/Kyuafile +tests/kyua-cli/bootstrap/Kyuafile +tests/kyua-cli/bootstrap/testsuite tests/kyua-cli/cli/Atffile tests/kyua-cli/cli/Kyuafile tests/kyua-cli/cli/cmd_about_test +tests/kyua-cli/cli/cmd_config_test +tests/kyua-cli/cli/cmd_debug_test tests/kyua-cli/cli/cmd_help_test tests/kyua-cli/cli/cmd_list_helpers tests/kyua-cli/cli/cmd_list_test tests/kyua-cli/cli/cmd_test_test tests/kyua-cli/cli/common_test +tests/kyua-cli/cli/config_test tests/kyua-cli/cli/filters_test tests/kyua-cli/cli/main_test tests/kyua-cli/engine/Atffile tests/kyua-cli/engine/Kyuafile +tests/kyua-cli/engine/atf_iface/Atffile +tests/kyua-cli/engine/atf_iface/Kyuafile +tests/kyua-cli/engine/atf_iface/results_test +tests/kyua-cli/engine/atf_iface/runner_helpers +tests/kyua-cli/engine/atf_iface/runner_test +tests/kyua-cli/engine/atf_iface/test_case_test +tests/kyua-cli/engine/atf_iface/test_program_atf_helpers +tests/kyua-cli/engine/atf_iface/test_program_plain_helpers +tests/kyua-cli/engine/atf_iface/test_program_test tests/kyua-cli/engine/exceptions_test -tests/kyua-cli/engine/results_helpers +tests/kyua-cli/engine/isolation_test +tests/kyua-cli/engine/plain_iface/Atffile +tests/kyua-cli/engine/plain_iface/Kyuafile +tests/kyua-cli/engine/plain_iface/test_case_helpers +tests/kyua-cli/engine/plain_iface/test_case_test +tests/kyua-cli/engine/plain_iface/test_program_test tests/kyua-cli/engine/results_test -tests/kyua-cli/engine/runner_helpers -tests/kyua-cli/engine/runner_test tests/kyua-cli/engine/test_case_test -tests/kyua-cli/engine/test_program_atf_helpers -tests/kyua-cli/engine/test_program_plain_helpers tests/kyua-cli/engine/test_program_test tests/kyua-cli/engine/user_files/Atffile tests/kyua-cli/engine/user_files/Kyuafile @@ -51,6 +66,8 @@ tests/kyua-cli/examples/syntax_test tests/kyua-cli/integration/Atffile tests/kyua-cli/integration/Kyuafile tests/kyua-cli/integration/cmd_about_test +tests/kyua-cli/integration/cmd_config_test +tests/kyua-cli/integration/cmd_debug_test tests/kyua-cli/integration/cmd_help_test tests/kyua-cli/integration/cmd_list_test tests/kyua-cli/integration/cmd_test_test diff --git a/devel/kyua-cli/distinfo b/devel/kyua-cli/distinfo index fe546a1e1fe..92265f47c90 100644 --- a/devel/kyua-cli/distinfo +++ b/devel/kyua-cli/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/07/08 09:49:11 jmmv Exp $ +$NetBSD: distinfo,v 1.2 2011/08/24 21:04:42 jmmv Exp $ -SHA1 (kyua-cli-0.1.tar.gz) = 09095b5379d485f3bd23eeaa2f1dbb3ac6fae5b4 -RMD160 (kyua-cli-0.1.tar.gz) = a16b1408cc0f89fcfbd0e83faf871fdc75c67eff -Size (kyua-cli-0.1.tar.gz) = 449182 bytes +SHA1 (kyua-cli-0.2.tar.gz) = 109dcb81a2b2be3057ced56e853f1148a68c254d +RMD160 (kyua-cli-0.2.tar.gz) = a484b0b259b5ff8383a0be9871e8e7631e3afcca +Size (kyua-cli-0.2.tar.gz) = 487085 bytes |