git: c16da33701d0 - main - contrib/kyua: update to 0.15.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Nov 2026 07:07:24 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=c16da33701d07751bbe6871ad39582006d5281fc
commit c16da33701d07751bbe6871ad39582006d5281fc
Merge: ad0cd0101590 dab80d5deaf7
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-11-19 07:02:06 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-19 07:02:06 +0000
contrib/kyua: update to 0.15.2
This change contains a few bugfixes to the test executor.
MFC after: 1 week
Merge commit 'dab80d5deaf7d998d587b99f7941890237960638'
contrib/kyua/NEWS | 18 ++
contrib/kyua/README.md | 4 +-
contrib/kyua/config.h | 3 +
contrib/kyua/utils/Kyuafile | 1 -
contrib/kyua/utils/auto_array.hpp | 102 ----------
contrib/kyua/utils/auto_array.ipp | 227 ----------------------
contrib/kyua/utils/auto_array_fwd.hpp | 43 ----
contrib/kyua/utils/auto_array_test.cpp | 312 ------------------------------
contrib/kyua/utils/cmdline/parser.cpp | 16 +-
contrib/kyua/utils/datetime.cpp | 88 +++++++++
contrib/kyua/utils/datetime.hpp | 28 +++
contrib/kyua/utils/datetime_fwd.hpp | 1 +
contrib/kyua/utils/datetime_test.cpp | 117 +++++++++++
contrib/kyua/utils/fs/operations.cpp | 16 +-
contrib/kyua/utils/process/systembuf.cpp | 7 +-
contrib/kyua/utils/signals/timer.cpp | 75 +++++--
contrib/kyua/utils/signals/timer.hpp | 8 +-
contrib/kyua/utils/signals/timer_test.cpp | 111 +++++++++--
contrib/kyua/utils/text/regex.cpp | 33 ++--
contrib/kyua/utils/text/templates.cpp | 2 +-
20 files changed, 442 insertions(+), 770 deletions(-)
diff --cc contrib/kyua/README.md
index b8b54d0413de,000000000000..a5bc8db0509b
mode 100644,000000..100644
--- a/contrib/kyua/README.md
+++ b/contrib/kyua/README.md
@@@ -1,79 -1,0 +1,79 @@@
+# 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/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
+
- The latest version of Kyua is 0.15.0 and was released on October 7th, 2026.
++The latest version of Kyua is 0.15.1 and was released on October 25th, 2026.
+
- Download: [kyua-0.15.0](../../releases/tag/kyua-0.15.0).
++Download: [kyua-0.15.1](../../releases/tag/kyua-0.15.1).
+
+See the [release notes](NEWS) for information about the changes in this
+and all previous releases.
+
+
+## Installation
+
+You are encouraged to install binary packages for your operating system
+wherever available:
+
+* 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`.
+
+* 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/freebsd/atf/).
+
+
+## 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
+
+Please use the [kyua-discuss mailing
+list](https://groups.google.com/forum/#!forum/kyua-discuss) for any support
+inquiries.
+
+*Homepage:* https://github.com/freebsd/kyua/
diff --cc contrib/kyua/config.h
index eba9c9cb1448,000000000000..cccfe36ae3a2
mode 100644,000000..100644
--- a/contrib/kyua/config.h
+++ b/contrib/kyua/config.h
@@@ -1,139 -1,0 +1,142 @@@
+/* 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 to 1 if you have the 'clock_gettime' function. */
++#undef HAVE_CLOCK_GETTIME
++
+/* 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.1"
+
+/* 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.1"
+
+/* 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.1"