2a1d928a86
**Released on November 22nd, 2015.** This is a huge release and marks a major milestone for Kyua as it finally implements a long-standing feature request: the ability to execute test cases in parallel. This is a big deal because test cases are rarely CPU-bound: running them in parallel yields much faster execution times for large test suites, allowing faster iteration of changes during development. As an example: the FreeBSD test suite as of this date contains 3285 test cases. With sequential execution, a full test suite run takes around 12 minutes to complete, whereas on a 4-core machine with a high level of parallelism it takes a little over 1 minute. Implementing parallel execution required rewriting most of Kyua's core and partly explains explains why there has not been a new release for over a year. The current implementation is purely subprocess-based, which works but has some limitations and has resulted in a core that is really complex and difficult to understand. Future versions will investigate the use of threads instead for a simplified programming model and additional parallelization possibilities. * Issue #2: Implemented support to execute test cases in parallel when invoking `kyua test`. Parallel execution is *only* enabled when the new `parallelism` configuration variable is set to a value greater than `1`. The default behavior is still to run tests sequentially because some test suites contain test cases with side-effects that might fail when run in parallel. To resolve this, the new metadata property `is_exclusive` can be set to `true` on a test basis to indicate that the test must be run on its own. * Known regression: Running `kyua debug` on a TAP-based test program does not currently report the output in real time. The output will only be displayed once the test program completes. This is a shortcoming of the new parallel execution engine and will be resolved. * Removed the external C-based testers code in favor of the new built-in implementations. The new approach feels significantly faster than the previous one. * Fixed the handling of relative paths in the `fs.*` functions available in `Kyuafile`s. All paths are now resolved relative to the location of the caller `Kyuafile`. `Kyuafile.top` has been updated with these changes and you should update custom copies of this file with the new version. * Changed temporary directory creation to always grant search permissions on temporary directories. This is to prevent potential problems when running Kyua as root and executing test cases that require dropping privileges (as they may later be unable to use absolute paths that point inside their work directory). * The cleanup of work directories does not longer attempt to deal with mount points. If a test case mounts a file system and forgets to unmount it, the mount point will be left behind. It is now the responsibility of the test case to clean after itself. The reasons for this change are simplicity and clarity: there are many more things that a test case can do that have side-effects on the system and Kyua cannot protect against them all, so it is better to just have the test undo anything it might have done. * Improved `kyua report --verbose` to properly handle environment variables with continuation lines in them, and fixed the integration tests for this command to avoid false negatives. * Changed the configuration file format to accept the definition of unknown variables without declaring them local. The syntax version number remains at 2. This is to allow configuration files for newer Kyua versions to work on older Kyua versions, as there is no reason to forbid this. * Fixed stacktrace gathering with FreeBSD's ancient version of GDB. GDB 6.1.1 (circa 2004) does not have the `-ex` flag so we need to generate a temporary GDB script and feed it to GDB with `-x` instead. * Issue #136: Fixed the XML escaping in the JUnit output so that non-printable characters are properly handled when they appear in the process's stdout or stderr. * Issue #141: Improved reporting of errors triggered by sqlite3. In particular, all error messages are now tagged with their corresponding database filename and, if they are API-level errors, the name of the sqlite3 function that caused them. * Issue #144: Improved documentation on the support for custom properties in the test metadata. * Converted the `INSTALL`, `NEWS`, and `README` distribution documents to Markdown for better formatting online.
192 lines
7.5 KiB
Text
192 lines
7.5 KiB
Text
@comment $NetBSD: PLIST,v 1.3 2015/11/23 03:39:14 jmmv Exp $
|
|
bin/kyua
|
|
man/man1/kyua-about.1
|
|
man/man1/kyua-config.1
|
|
man/man1/kyua-db-exec.1
|
|
man/man1/kyua-db-migrate.1
|
|
man/man1/kyua-debug.1
|
|
man/man1/kyua-help.1
|
|
man/man1/kyua-list.1
|
|
man/man1/kyua-report-html.1
|
|
man/man1/kyua-report-junit.1
|
|
man/man1/kyua-report.1
|
|
man/man1/kyua-test.1
|
|
man/man1/kyua.1
|
|
man/man5/kyua.conf.5
|
|
man/man5/kyuafile.5
|
|
share/doc/kyua/AUTHORS
|
|
share/doc/kyua/CONTRIBUTING.md
|
|
share/doc/kyua/CONTRIBUTORS
|
|
share/doc/kyua/LICENSE
|
|
share/doc/kyua/NEWS.md
|
|
share/kyua/examples/Kyuafile.top
|
|
share/kyua/examples/kyua.conf
|
|
share/kyua/misc/context.html
|
|
share/kyua/misc/index.html
|
|
share/kyua/misc/report.css
|
|
share/kyua/misc/test_result.html
|
|
share/kyua/store/migrate_v1_v2.sql
|
|
share/kyua/store/migrate_v2_v3.sql
|
|
share/kyua/store/schema_v3.sql
|
|
${TESTS}tests/Kyuafile
|
|
${TESTS}tests/kyua/Kyuafile
|
|
${TESTS}tests/kyua/bootstrap/Kyuafile
|
|
${TESTS}tests/kyua/bootstrap/atf_helpers
|
|
${TESTS}tests/kyua/bootstrap/plain_helpers
|
|
${TESTS}tests/kyua/bootstrap/testsuite
|
|
${TESTS}tests/kyua/cli/Kyuafile
|
|
${TESTS}tests/kyua/cli/cmd_about_test
|
|
${TESTS}tests/kyua/cli/cmd_config_test
|
|
${TESTS}tests/kyua/cli/cmd_db_exec_test
|
|
${TESTS}tests/kyua/cli/cmd_debug_test
|
|
${TESTS}tests/kyua/cli/cmd_help_test
|
|
${TESTS}tests/kyua/cli/cmd_list_test
|
|
${TESTS}tests/kyua/cli/cmd_test_test
|
|
${TESTS}tests/kyua/cli/common_test
|
|
${TESTS}tests/kyua/cli/config_test
|
|
${TESTS}tests/kyua/cli/main_test
|
|
${TESTS}tests/kyua/drivers/Kyuafile
|
|
${TESTS}tests/kyua/drivers/list_tests_helpers
|
|
${TESTS}tests/kyua/drivers/list_tests_test
|
|
${TESTS}tests/kyua/drivers/report_junit_test
|
|
${TESTS}tests/kyua/drivers/scan_results_test
|
|
${TESTS}tests/kyua/engine/Kyuafile
|
|
${TESTS}tests/kyua/engine/atf_helpers
|
|
${TESTS}tests/kyua/engine/atf_list_test
|
|
${TESTS}tests/kyua/engine/atf_result_test
|
|
${TESTS}tests/kyua/engine/atf_test
|
|
${TESTS}tests/kyua/engine/config_test
|
|
${TESTS}tests/kyua/engine/exceptions_test
|
|
${TESTS}tests/kyua/engine/filters_test
|
|
${TESTS}tests/kyua/engine/kyuafile_test
|
|
${TESTS}tests/kyua/engine/plain_helpers
|
|
${TESTS}tests/kyua/engine/plain_test
|
|
${TESTS}tests/kyua/engine/requirements_test
|
|
${TESTS}tests/kyua/engine/scanner_test
|
|
${TESTS}tests/kyua/engine/scheduler_test
|
|
${TESTS}tests/kyua/engine/tap_helpers
|
|
${TESTS}tests/kyua/engine/tap_parser_test
|
|
${TESTS}tests/kyua/engine/tap_test
|
|
${TESTS}tests/kyua/examples/Kyuafile
|
|
${TESTS}tests/kyua/examples/syntax_test
|
|
${TESTS}tests/kyua/integration/Kyuafile
|
|
${TESTS}tests/kyua/integration/cmd_about_test
|
|
${TESTS}tests/kyua/integration/cmd_config_test
|
|
${TESTS}tests/kyua/integration/cmd_db_exec_test
|
|
${TESTS}tests/kyua/integration/cmd_db_migrate_test
|
|
${TESTS}tests/kyua/integration/cmd_debug_test
|
|
${TESTS}tests/kyua/integration/cmd_help_test
|
|
${TESTS}tests/kyua/integration/cmd_list_test
|
|
${TESTS}tests/kyua/integration/cmd_report_html_test
|
|
${TESTS}tests/kyua/integration/cmd_report_junit_test
|
|
${TESTS}tests/kyua/integration/cmd_report_test
|
|
${TESTS}tests/kyua/integration/cmd_test_test
|
|
${TESTS}tests/kyua/integration/global_test
|
|
${TESTS}tests/kyua/integration/helpers/bad_test_program
|
|
${TESTS}tests/kyua/integration/helpers/bogus_test_cases
|
|
${TESTS}tests/kyua/integration/helpers/config
|
|
${TESTS}tests/kyua/integration/helpers/dump_env
|
|
${TESTS}tests/kyua/integration/helpers/expect_all_pass
|
|
${TESTS}tests/kyua/integration/helpers/expect_some_fail
|
|
${TESTS}tests/kyua/integration/helpers/interrupts
|
|
${TESTS}tests/kyua/integration/helpers/metadata
|
|
${TESTS}tests/kyua/integration/helpers/race
|
|
${TESTS}tests/kyua/integration/helpers/simple_all_pass
|
|
${TESTS}tests/kyua/integration/helpers/simple_some_fail
|
|
${TESTS}tests/kyua/model/Kyuafile
|
|
${TESTS}tests/kyua/model/context_test
|
|
${TESTS}tests/kyua/model/exceptions_test
|
|
${TESTS}tests/kyua/model/metadata_test
|
|
${TESTS}tests/kyua/model/test_case_test
|
|
${TESTS}tests/kyua/model/test_program_test
|
|
${TESTS}tests/kyua/model/test_result_test
|
|
${TESTS}tests/kyua/store/Kyuafile
|
|
${TESTS}tests/kyua/store/dbtypes_test
|
|
${TESTS}tests/kyua/store/exceptions_test
|
|
${TESTS}tests/kyua/store/layout_test
|
|
${TESTS}tests/kyua/store/metadata_test
|
|
${TESTS}tests/kyua/store/migrate_test
|
|
${TESTS}tests/kyua/store/read_backend_test
|
|
${TESTS}tests/kyua/store/read_transaction_test
|
|
${TESTS}tests/kyua/store/schema_inttest
|
|
${TESTS}tests/kyua/store/schema_v1.sql
|
|
${TESTS}tests/kyua/store/schema_v2.sql
|
|
${TESTS}tests/kyua/store/testdata_v1.sql
|
|
${TESTS}tests/kyua/store/testdata_v2.sql
|
|
${TESTS}tests/kyua/store/testdata_v3_1.sql
|
|
${TESTS}tests/kyua/store/testdata_v3_2.sql
|
|
${TESTS}tests/kyua/store/testdata_v3_3.sql
|
|
${TESTS}tests/kyua/store/testdata_v3_4.sql
|
|
${TESTS}tests/kyua/store/transaction_test
|
|
${TESTS}tests/kyua/store/write_backend_test
|
|
${TESTS}tests/kyua/store/write_transaction_test
|
|
${TESTS}tests/kyua/utils/Kyuafile
|
|
${TESTS}tests/kyua/utils/auto_array_test
|
|
${TESTS}tests/kyua/utils/cmdline/Kyuafile
|
|
${TESTS}tests/kyua/utils/cmdline/base_command_test
|
|
${TESTS}tests/kyua/utils/cmdline/commands_map_test
|
|
${TESTS}tests/kyua/utils/cmdline/exceptions_test
|
|
${TESTS}tests/kyua/utils/cmdline/globals_test
|
|
${TESTS}tests/kyua/utils/cmdline/options_test
|
|
${TESTS}tests/kyua/utils/cmdline/parser_test
|
|
${TESTS}tests/kyua/utils/cmdline/ui_test
|
|
${TESTS}tests/kyua/utils/config/Kyuafile
|
|
${TESTS}tests/kyua/utils/config/exceptions_test
|
|
${TESTS}tests/kyua/utils/config/keys_test
|
|
${TESTS}tests/kyua/utils/config/lua_module_test
|
|
${TESTS}tests/kyua/utils/config/nodes_test
|
|
${TESTS}tests/kyua/utils/config/parser_test
|
|
${TESTS}tests/kyua/utils/config/tree_test
|
|
${TESTS}tests/kyua/utils/datetime_test
|
|
${TESTS}tests/kyua/utils/env_test
|
|
${TESTS}tests/kyua/utils/format/Kyuafile
|
|
${TESTS}tests/kyua/utils/format/containers_test
|
|
${TESTS}tests/kyua/utils/format/exceptions_test
|
|
${TESTS}tests/kyua/utils/format/formatter_test
|
|
${TESTS}tests/kyua/utils/fs/Kyuafile
|
|
${TESTS}tests/kyua/utils/fs/auto_cleaners_test
|
|
${TESTS}tests/kyua/utils/fs/directory_test
|
|
${TESTS}tests/kyua/utils/fs/exceptions_test
|
|
${TESTS}tests/kyua/utils/fs/lua_module_test
|
|
${TESTS}tests/kyua/utils/fs/operations_test
|
|
${TESTS}tests/kyua/utils/fs/path_test
|
|
${TESTS}tests/kyua/utils/logging/Kyuafile
|
|
${TESTS}tests/kyua/utils/logging/macros_test
|
|
${TESTS}tests/kyua/utils/logging/operations_test
|
|
${TESTS}tests/kyua/utils/memory_test
|
|
${TESTS}tests/kyua/utils/optional_test
|
|
${TESTS}tests/kyua/utils/passwd_test
|
|
${TESTS}tests/kyua/utils/process/Kyuafile
|
|
${TESTS}tests/kyua/utils/process/child_test
|
|
${TESTS}tests/kyua/utils/process/deadline_killer_test
|
|
${TESTS}tests/kyua/utils/process/exceptions_test
|
|
${TESTS}tests/kyua/utils/process/executor_test
|
|
${TESTS}tests/kyua/utils/process/fdstream_test
|
|
${TESTS}tests/kyua/utils/process/helpers
|
|
${TESTS}tests/kyua/utils/process/isolation_test
|
|
${TESTS}tests/kyua/utils/process/operations_test
|
|
${TESTS}tests/kyua/utils/process/status_test
|
|
${TESTS}tests/kyua/utils/process/systembuf_test
|
|
${TESTS}tests/kyua/utils/sanity_test
|
|
${TESTS}tests/kyua/utils/signals/Kyuafile
|
|
${TESTS}tests/kyua/utils/signals/exceptions_test
|
|
${TESTS}tests/kyua/utils/signals/interrupts_test
|
|
${TESTS}tests/kyua/utils/signals/misc_test
|
|
${TESTS}tests/kyua/utils/signals/programmer_test
|
|
${TESTS}tests/kyua/utils/signals/timer_test
|
|
${TESTS}tests/kyua/utils/sqlite/Kyuafile
|
|
${TESTS}tests/kyua/utils/sqlite/c_gate_test
|
|
${TESTS}tests/kyua/utils/sqlite/database_test
|
|
${TESTS}tests/kyua/utils/sqlite/exceptions_test
|
|
${TESTS}tests/kyua/utils/sqlite/statement_test
|
|
${TESTS}tests/kyua/utils/sqlite/transaction_test
|
|
${TESTS}tests/kyua/utils/stacktrace_helper
|
|
${TESTS}tests/kyua/utils/stacktrace_test
|
|
${TESTS}tests/kyua/utils/stream_test
|
|
${TESTS}tests/kyua/utils/text/Kyuafile
|
|
${TESTS}tests/kyua/utils/text/exceptions_test
|
|
${TESTS}tests/kyua/utils/text/operations_test
|
|
${TESTS}tests/kyua/utils/text/regex_test
|
|
${TESTS}tests/kyua/utils/text/table_test
|
|
${TESTS}tests/kyua/utils/text/templates_test
|
|
${TESTS}tests/kyua/utils/units_test
|