git: eb8f69902f7d - main - contrib/kyua: update to 0.15.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Oct 2026 17:52:42 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=eb8f69902f7de8012a31a85db2f88a54584f81af
commit eb8f69902f7de8012a31a85db2f88a54584f81af
Merge: de2c0f157a9c 144afd05f8a2
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-10-07 17:50:26 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-10-07 17:50:26 +0000
contrib/kyua: update to 0.15.0
This new release contains multiple feature updates and bugfixes. Please
see the release notes mentioned in the merge commit for more details.
MFC after: 1 month
Merge commit '144afd05f8a2300361ec30c1c2020e4022ddd943'
Conflicts:
contrib/kyua/cli/cmd_debug.cpp
contrib/kyua/doc/kyua-debug.1.in
contrib/kyua/doc/kyuafile.5.in
contrib/kyua/engine/config.cpp
contrib/kyua/engine/execenv/execenv.cpp
contrib/kyua/engine/execenv/execenv.hpp
contrib/kyua/engine/execenv/execenv_host.hpp
contrib/kyua/engine/requirements.cpp
contrib/kyua/engine/requirements.hpp
contrib/kyua/engine/scheduler.cpp
contrib/kyua/model/metadata.cpp
contrib/kyua/os/freebsd/execenv_jail.hpp
contrib/kyua/os/freebsd/execenv_jail_stub.cpp
contrib/kyua/os/freebsd/main.cpp
contrib/kyua/os/freebsd/reqs_checker_kmods.cpp
contrib/kyua/os/freebsd/utils/jail.hpp
contrib/kyua/utils/fs/directory.cpp
contrib/kyua/utils/process/executor.cpp
contrib/kyua/.cirrus.yml | 25 -
contrib/kyua/.gitignore | 23 -
contrib/kyua/.travis.yml | 49 --
contrib/kyua/Doxyfile.in | 1 -
contrib/kyua/FREEBSD-Xlist | 12 +
contrib/kyua/INSTALL.md | 268 ------
contrib/kyua/Makefile.am | 186 ----
contrib/kyua/{NEWS.md => NEWS} | 163 +++-
contrib/kyua/README.md | 33 +-
contrib/kyua/admin/.gitignore | 6 -
contrib/kyua/admin/Makefile.am.inc | 41 -
contrib/kyua/admin/build-bintray-dist.sh | 131 ---
contrib/kyua/admin/check-api-docs.awk | 72 --
contrib/kyua/admin/check-style-common.awk | 79 --
contrib/kyua/admin/check-style-cpp.awk | 87 --
contrib/kyua/admin/check-style-make.awk | 71 --
contrib/kyua/admin/check-style-man.awk | 71 --
contrib/kyua/admin/check-style-shell.awk | 95 --
contrib/kyua/admin/check-style.sh | 170 ----
contrib/kyua/admin/clean-all.sh | 90 --
contrib/kyua/admin/travis-build.sh | 98 ---
contrib/kyua/admin/travis-install-deps.sh | 83 --
contrib/kyua/bootstrap/.gitignore | 4 -
contrib/kyua/bootstrap/Kyuafile | 5 -
contrib/kyua/bootstrap/Makefile.am.inc | 90 --
contrib/kyua/bootstrap/plain_helpers.cpp | 141 ---
contrib/kyua/bootstrap/testsuite.at | 200 -----
contrib/kyua/cli/Makefile.am.inc | 123 ---
contrib/kyua/cli/cmd_debug.cpp | 7 +-
contrib/kyua/cli/main.cpp | 4 +
contrib/kyua/config.h | 139 +++
contrib/kyua/configure.ac | 173 ----
contrib/kyua/doc/.gitignore | 14 -
contrib/kyua/doc/Makefile.am.inc | 152 ----
contrib/kyua/doc/kyua-about.1.in | 2 +-
contrib/kyua/doc/kyua-config.1.in | 2 +-
contrib/kyua/doc/kyua-db-exec.1.in | 2 +-
contrib/kyua/doc/kyua-db-migrate.1.in | 2 +-
contrib/kyua/doc/kyua-debug.1.in | 4 +-
contrib/kyua/doc/kyua-help.1.in | 2 +-
contrib/kyua/doc/kyua-list.1.in | 2 +-
contrib/kyua/doc/kyua-report-html.1.in | 2 +-
contrib/kyua/doc/kyua-report-junit.1.in | 2 +-
contrib/kyua/doc/kyua-report.1.in | 2 +-
contrib/kyua/doc/kyua-test.1.in | 2 +-
contrib/kyua/doc/kyua.1.in | 6 +-
contrib/kyua/doc/kyua.conf.5.in | 2 +-
contrib/kyua/doc/kyuafile.5.in | 19 +-
contrib/kyua/drivers/Makefile.am.inc | 72 --
contrib/kyua/engine/Kyuafile | 3 +
contrib/kyua/engine/Makefile.am.inc | 155 ----
contrib/kyua/engine/atf.hpp | 21 +-
contrib/kyua/engine/atf_result.cpp | 16 +-
contrib/kyua/engine/atf_result_test.cpp | 7 +-
contrib/kyua/engine/atf_test.cpp | 2 +-
contrib/kyua/engine/config.cpp | 4 +-
contrib/kyua/engine/execenv/execenv.cpp | 3 -
contrib/kyua/engine/execenv/execenv.hpp | 6 +-
contrib/kyua/engine/execenv/execenv_fwd.hpp | 44 +
contrib/kyua/engine/execenv/execenv_host.hpp | 2 +-
contrib/kyua/engine/googletest.cpp | 219 +++++
contrib/kyua/engine/googletest.hpp | 68 ++
contrib/kyua/engine/googletest_helpers.cpp | 330 +++++++
contrib/kyua/engine/googletest_list.cpp | 111 +++
.../atf_helpers.cpp => engine/googletest_list.hpp} | 49 +-
contrib/kyua/engine/googletest_list_test.cpp | 208 +++++
contrib/kyua/engine/googletest_result.cpp | 528 ++++++++++++
contrib/kyua/engine/googletest_result.hpp | 111 +++
contrib/kyua/engine/googletest_result_fwd.hpp | 43 +
contrib/kyua/engine/googletest_result_test.cpp | 427 +++++++++
contrib/kyua/engine/googletest_test.cpp | 361 ++++++++
contrib/kyua/engine/kyuafile.hpp | 5 -
contrib/kyua/engine/kyuafile_test.cpp | 10 +-
contrib/kyua/engine/plain.hpp | 13 +-
contrib/kyua/engine/requirements.cpp | 4 +-
contrib/kyua/engine/requirements.hpp | 4 +-
contrib/kyua/engine/scheduler.cpp | 4 +-
contrib/kyua/engine/scheduler.hpp | 26 +-
contrib/kyua/engine/scheduler_test.cpp | 24 +-
contrib/kyua/engine/tap.hpp | 13 +-
contrib/kyua/examples/Makefile.am.inc | 45 -
contrib/kyua/integration/Makefile.am.inc | 150 ----
contrib/kyua/integration/cmd_about_test.sh | 2 +-
contrib/kyua/integration/cmd_report_test.sh | 2 +-
contrib/kyua/integration/cmd_test_test.sh | 4 +-
contrib/kyua/integration/helpers/.gitignore | 11 -
contrib/kyua/integration/helpers/Makefile.am.inc | 90 --
contrib/kyua/integration/utils.sh | 34 +-
contrib/kyua/m4/ax_cxx_compile_stdcxx.m4 | 951 ---------------------
contrib/kyua/m4/compiler-features.m4 | 122 ---
contrib/kyua/m4/compiler-flags.m4 | 169 ----
contrib/kyua/m4/developer-mode.m4 | 112 ---
contrib/kyua/m4/doxygen.m4 | 62 --
contrib/kyua/m4/fs.m4 | 125 ---
contrib/kyua/m4/getopt.m4 | 213 -----
contrib/kyua/m4/memory.m4 | 122 ---
contrib/kyua/m4/signals.m4 | 92 --
contrib/kyua/m4/uname.m4 | 63 --
contrib/kyua/misc/Makefile.am.inc | 32 -
contrib/kyua/model/Makefile.am.inc | 89 --
contrib/kyua/model/README | 11 -
contrib/kyua/model/metadata.cpp | 51 +-
contrib/kyua/os/freebsd/execenv_jail.hpp | 2 +-
contrib/kyua/os/freebsd/execenv_jail_stub.cpp | 2 +-
contrib/kyua/os/freebsd/main.cpp | 8 -
contrib/kyua/os/freebsd/reqs_checker_kmods.cpp | 2 +-
contrib/kyua/os/freebsd/utils/jail.hpp | 7 +-
contrib/kyua/store/Makefile.am.inc | 145 ----
contrib/kyua/store/write_transaction_test.cpp | 2 +-
contrib/kyua/utils/.gitignore | 2 -
contrib/kyua/utils/Makefile.am.inc | 133 ---
contrib/kyua/utils/cmdline/Makefile.am.inc | 96 ---
contrib/kyua/utils/config/Makefile.am.inc | 87 --
contrib/kyua/utils/config/nodes.cpp | 20 +-
contrib/kyua/utils/config/nodes.hpp | 2 +
contrib/kyua/utils/config/nodes_test.cpp | 15 +-
contrib/kyua/utils/defs.hpp.in | 15 +-
contrib/kyua/utils/format/Makefile.am.inc | 59 --
contrib/kyua/utils/fs/Makefile.am.inc | 84 --
contrib/kyua/utils/fs/directory.cpp | 13 +-
contrib/kyua/utils/fs/operations.cpp | 120 +--
contrib/kyua/utils/logging/Makefile.am.inc | 53 --
contrib/kyua/utils/process/.gitignore | 1 -
contrib/kyua/utils/process/Kyuafile | 1 -
contrib/kyua/utils/process/Makefile.am.inc | 118 ---
contrib/kyua/utils/process/child.hpp | 4 +-
contrib/kyua/utils/process/child_test.cpp | 2 +-
contrib/kyua/utils/process/executor.cpp | 2 +
contrib/kyua/utils/process/executor_pid_test.cpp | 208 -----
contrib/kyua/utils/process/executor_test.cpp | 23 +-
contrib/kyua/utils/process/isolation.cpp | 2 +-
contrib/kyua/utils/process/operations.cpp | 3 +-
contrib/kyua/utils/process/operations.hpp | 6 +-
contrib/kyua/utils/process/operations_test.cpp | 4 +-
contrib/kyua/utils/sanity.hpp | 4 +-
contrib/kyua/utils/signals/Makefile.am.inc | 73 --
contrib/kyua/utils/signals/misc_test.cpp | 2 +-
contrib/kyua/utils/sqlite/Makefile.am.inc | 82 --
contrib/kyua/utils/sqlite/database.hpp | 1 +
contrib/kyua/utils/sqlite/test_utils.hpp | 4 +-
contrib/kyua/utils/stacktrace.cpp | 2 +-
contrib/kyua/utils/stacktrace_test.cpp | 9 +-
contrib/kyua/utils/test_utils.ipp | 2 +-
contrib/kyua/utils/text/Makefile.am.inc | 74 --
contrib/kyua/utils/text/operations.ipp | 1 +
contrib/kyua/utils/text/regex.cpp | 4 +-
contrib/kyua/utils/text/regex.hpp | 1 +
147 files changed, 3019 insertions(+), 6883 deletions(-)
diff --cc contrib/kyua/FREEBSD-Xlist
index 000000000000,000000000000..06fef93a4024
new file mode 100644
--- /dev/null
+++ b/contrib/kyua/FREEBSD-Xlist
@@@ -1,0 -1,0 +1,12 @@@
++*/*/Makefile*
++*/Makefile*
++*/*.m4
++*/*.pc.in
++INSTALL.md
++Makefile*
++aclocal.m4
++admin/
++config.h.in
++bootstrap/
++configure*
++m4/
diff --cc contrib/kyua/README.md
index eb34c0fd4550,000000000000..e42d6da35377
mode 100644,000000..100644
--- a/contrib/kyua/README.md
+++ b/contrib/kyua/README.md
@@@ -1,84 -1,0 +1,79 @@@
- Welcome to the Kyua project!
- ============================
++# Welcome to the Kyua project!
+
+Kyua is a **testing framework** for infrastructure software, originally
+designed to equip BSD-based operating systems with a test suite. This
+means that Kyua is lightweight and simple, and that Kyua integrates well
+with various build systems and continuous integration frameworks.
+
+Kyua features an **expressive test suite definition language**, a **safe
+runtime engine** for test suites and a **powerful report generation
+engine**.
+
+Kyua is for **both developers *and* users**, from the developer applying a
+simple fix to a library to the system administrator deploying a new release
+on a production machine.
+
+Kyua is **able to execute test programs written with a plethora of testing
+libraries and languages**. The library of choice is
- [ATF](https://github.com/jmmv/atf/), for which Kyua was originally
++[ATF](https://github.com/freebsd/atf/), for which Kyua was originally
+designed, but simple, framework-less test programs and TAP-compliant test
+programs can also be executed through Kyua.
+
+Kyua is licensed under a **[liberal BSD 3-clause license](LICENSE)**.
+This is not an official Google product.
+
+[Read more about Kyua in the About wiki page.](../../wiki/About)
+
+
- Download
- --------
++## Download
+
- The latest version of Kyua is 0.13 and was released on August 26th, 2016.
++The latest version of Kyua is 0.14.1 and was released on March 29th, 2025.
+
- Download: [kyua-0.13](../../releases/tag/kyua-0.13).
++Download: [kyua-0.14.1](../../releases/tag/kyua-0.14.1).
+
- See the [release notes](NEWS.md) for information about the changes in this
++See the [release notes](NEWS) for information about the changes in this
+and all previous releases.
+
+
- Installation
- ------------
++## Installation
+
+You are encouraged to install binary packages for your operating system
+wherever available:
+
- * Fedora 20 and above: install the `kyua-cli` package with `yum install
- kyua-cli`.
++* Fedora 20 and above: install the `kyua` package with `dnf install
++ kyua`.
+
+* FreeBSD 10.0 and above: install the `kyua` package with `pkg install kyua`.
+
+* NetBSD with pkgsrc: install the `pkgsrc/devel/kyua` package.
+
+* OpenBSD with packages: install the `kyua` package with `pkg_add kyua`.
+
- * OS X (with Homebrew): install the `kyua` package with `brew install kyua`.
++* macOS (with Homebrew): install the `kyua` package with `brew install kyua`.
+
+Should you want to build and install Kyua from the source tree provided
+here, follow the instructions in the
+[INSTALL.md file](INSTALL.md).
+
+You should also install the ATF libraries to assist in the development of
+test programs. To that end, see the
- [ATF project page](https://github.com/jmmv/atf/).
++[ATF project page](https://github.com/freebsd/atf/).
+
+
- Contributing
- ------------
++## Contributing
+
+Want to contribute? Great! But please first read the guidelines provided
+in [CONTRIBUTING.md](CONTRIBUTING.md).
+
+If you are curious about who made this project possible, you can check out
+the [list of copyright holders](AUTHORS) and the [list of
+individuals](CONTRIBUTORS).
+
+
- Support
- -------
++## Support
+
+Please use the [kyua-discuss mailing
+list](https://groups.google.com/forum/#!forum/kyua-discuss) for any support
+inquiries.
+
- *Homepage:* https://github.com/jmmv/kyua/
++*Homepage:* https://github.com/freebsd/kyua/
diff --cc contrib/kyua/config.h
index 000000000000,000000000000..d2e8728dde38
new file mode 100644
--- /dev/null
+++ b/contrib/kyua/config.h
@@@ -1,0 -1,0 +1,139 @@@
++/* config.h. Generated from config.h.in by configure. */
++/* config.h.in. Generated from configure.ac by autoheader. */
++
++/* Define to the optind value to reset getopt processing */
++#define GETOPT_OPTIND_RESET_VALUE 1
++
++/* define if the compiler supports basic C++20 syntax */
++#define HAVE_CXX20 1
++
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#define HAVE_DLFCN_H 1
++
++/* Define to 1 if getcwd(NULL, 0) works */
++#define HAVE_GETCWD_DYN 1
++
++/* Define to 1 if getopt allows a + sign for POSIX behavior */
++/* #undef HAVE_GETOPT_GNU */
++
++/* Define to 1 if getopt has optreset */
++#define HAVE_GETOPT_WITH_OPTRESET 1
++
++/* Define to 1 if you have the <inttypes.h> header file. */
++#define HAVE_INTTYPES_H 1
++
++/* Define to 1 if you have the 'putenv' function. */
++#define HAVE_PUTENV 1
++
++/* Define to 1 if you have the 'setenv' function. */
++#define HAVE_SETENV 1
++
++/* Define to 1 if you have the 'statfs' function. */
++#define HAVE_STATFS 1
++
++/* Define to 1 if you have the 'statvfs' function. */
++#define HAVE_STATVFS 1
++
++/* Define to 1 if you have the <stdint.h> header file. */
++#define HAVE_STDINT_H 1
++
++/* Define to 1 if you have the <stdio.h> header file. */
++#define HAVE_STDIO_H 1
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#define HAVE_STDLIB_H 1
++
++/* Define to 1 if you have the <strings.h> header file. */
++#define HAVE_STRINGS_H 1
++
++/* Define to 1 if you have the <string.h> header file. */
++#define HAVE_STRING_H 1
++
++/* Define to 1 if you have the 'sysctlbyname' function. */
++#define HAVE_SYSCTLBYNAME 1
++
++/* Define to 1 if you have the <sys/mount.h> header file. */
++#define HAVE_SYS_MOUNT_H 1
++
++/* Define to 1 if you have the <sys/param.h> header file. */
++#define HAVE_SYS_PARAM_H 1
++
++/* Define to 1 if you have the <sys/statvfs.h> header file. */
++#define HAVE_SYS_STATVFS_H 1
++
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#define HAVE_SYS_STAT_H 1
++
++/* Define to 1 if you have the <sys/sysctl.h> header file. */
++#define HAVE_SYS_SYSCTL_H 1
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#define HAVE_SYS_TYPES_H 1
++
++/* Define to 1 if you have the <sys/vfs.h> header file. */
++/* #undef HAVE_SYS_VFS_H */
++
++/* Define to 1 if you have the <termios.h> header file. */
++#define HAVE_TERMIOS_H 1
++
++/* Define to 1 if you have the 'umount' function. */
++/* #undef HAVE_UMOUNT */
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#define HAVE_UNISTD_H 1
++
++/* Define to 1 if you have the 'unmount' function. */
++#define HAVE_UNMOUNT 1
++
++/* Define to 1 if you have the 'unsetenv' function. */
++#define HAVE_UNSETENV 1
++
++/* Define to 1 if your lchmod works */
++#define HAVE_WORKING_LCHMOD 1
++
++/* Name of the system architecture (aka processor type) */
++/* #undef KYUA_ARCHITECTURE */
++
++/* Name of the system platform (aka machine name) */
++/* #undef KYUA_PLATFORM */
++
++/* Define to the last valid signal number */
++#define LAST_SIGNO 128
++
++/* Define to the sub-directory where libtool stores uninstalled libraries. */
++#define LT_OBJDIR ".libs/"
++
++/* Define to the name of the sysctl MIB */
++#define MEMORY_QUERY_SYSCTL_MIB "hw.usermem"
++
++/* Define to the memory query type */
++#define MEMORY_QUERY_TYPE "sysctlbyname"
++
++/* Name of package */
++#define PACKAGE "kyua"
++
++/* Define to the address where bug reports for this package should be sent. */
++#define PACKAGE_BUGREPORT "freebsd-testing@FreeBSD.org"
++
++/* Define to the full name of this package. */
++#define PACKAGE_NAME "Kyua"
++
++/* Define to the full name and version of this package. */
++#define PACKAGE_STRING "Kyua 0.15.0"
++
++/* Define to the one symbol short name of this package. */
++#define PACKAGE_TARNAME "kyua"
++
++/* Define to the home page for this package. */
++#define PACKAGE_URL "https://github.com/freebsd/kyua/"
++
++/* Define to the version of this package. */
++#define PACKAGE_VERSION "0.15.0"
++
++/* Define to 1 if all of the C89 standard headers exist (not just the ones
++ required in a freestanding environment). This macro is provided for
++ backward compatibility; new code need not use it. */
++#define STDC_HEADERS 1
++
++/* Version number of package */
++#define VERSION "0.15.0"
diff --cc contrib/kyua/engine/execenv/execenv_fwd.hpp
index 000000000000,ddbb2c3bb40f..ddbb2c3bb40f
mode 000000,100644..100644
--- a/contrib/kyua/engine/execenv/execenv_fwd.hpp
+++ b/contrib/kyua/engine/execenv/execenv_fwd.hpp
diff --cc contrib/kyua/engine/googletest.cpp
index 000000000000,e050410ba1f5..e050410ba1f5
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest.cpp
+++ b/contrib/kyua/engine/googletest.cpp
diff --cc contrib/kyua/engine/googletest.hpp
index 000000000000,9628f994a066..9628f994a066
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest.hpp
+++ b/contrib/kyua/engine/googletest.hpp
diff --cc contrib/kyua/engine/googletest_helpers.cpp
index 000000000000,129a08a89b7c..129a08a89b7c
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_helpers.cpp
+++ b/contrib/kyua/engine/googletest_helpers.cpp
diff --cc contrib/kyua/engine/googletest_list.cpp
index 000000000000,f231cb9e7021..f231cb9e7021
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_list.cpp
+++ b/contrib/kyua/engine/googletest_list.cpp
diff --cc contrib/kyua/engine/googletest_list_test.cpp
index 000000000000,5052c2f133ad..5052c2f133ad
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_list_test.cpp
+++ b/contrib/kyua/engine/googletest_list_test.cpp
diff --cc contrib/kyua/engine/googletest_result.cpp
index 000000000000,a1fc1f72da4d..a1fc1f72da4d
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_result.cpp
+++ b/contrib/kyua/engine/googletest_result.cpp
diff --cc contrib/kyua/engine/googletest_result.hpp
index 000000000000,325995be3221..325995be3221
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_result.hpp
+++ b/contrib/kyua/engine/googletest_result.hpp
diff --cc contrib/kyua/engine/googletest_result_fwd.hpp
index 000000000000,6f41c75a0b3f..6f41c75a0b3f
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_result_fwd.hpp
+++ b/contrib/kyua/engine/googletest_result_fwd.hpp
diff --cc contrib/kyua/engine/googletest_result_test.cpp
index 000000000000,90bc2cc62b7d..90bc2cc62b7d
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_result_test.cpp
+++ b/contrib/kyua/engine/googletest_result_test.cpp
diff --cc contrib/kyua/engine/googletest_test.cpp
index 000000000000,3af4d6801e70..3af4d6801e70
mode 000000,100644..100644
--- a/contrib/kyua/engine/googletest_test.cpp
+++ b/contrib/kyua/engine/googletest_test.cpp