Port details |
- kyua Testing framework for infrastructure software
- 0.13_9,3 devel =6 0.13_8,3Version of this port present on the latest quarterly branch.
- DEPRECATED: Consider using base version as tests(7) fail on 14.2 and later
EXPIRATION DATE: 2026-04-30
- Maintainer: bofh@FreeBSD.org
- Port Added: 2013-06-16 14:22:25
- Last Update: 2024-11-28 12:47:18
- Commit Hash: f0ec11a
- People watching this port, also watch:: gnupg, net-snmp, t1lib, asciidoc, monit
- License: BSD3CLAUSE
- WWW:
- https://github.com/jmmv/kyua/
- Description:
- 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, for which Kyua
was originally designed, but simple, framework-less test programs and
TAP-compliant test programs can also be executed through Kyua.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- kyua-atf-compat
- kyua-cli
- kyua-testers
- To install the port:
- cd /usr/ports/devel/kyua/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/kyua
- pkg install kyua
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: kyua
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1708684922
SHA256 (freebsd-kyua-0.13-c85354e_GH0.tar.gz) = d354e0df90cb9d7df2a0bd9f85fd819e8ca3fa54b7d13f33c35d15ee61eee3f1
SIZE (freebsd-kyua-0.13-c85354e_GH0.tar.gz) = 509081
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- atf>=0.21 : devel/atf
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- Runtime dependencies:
-
- atf>=0.21 : devel/atf
- Library dependencies:
-
- liblutok.so : devel/lutok
- liblua-5.4.so : lang/lua54
- libsqlite3.so : databases/sqlite3
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for kyua-0.13_9,3:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
TEST=on: Build and/or run tests
===> Use 'make config' to modify these settings
- Options name:
- devel_kyua
- USES:
- autoreconf lua pkgconfig sqlite
- pkg-message:
- If upgrading from < 0.13_5,3:
- A tests group has been added and the tests user should be a member
of it by default rather than nobody. You should update your password
database to match (change the group from 65534 to 977 after updating).
To do it, please run the following command:
pw usermod -n tests -g tests
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.13_9,3 28 Nov 2024 12:47:18 |
Igor Ostapenko (igoro) |
devel/kyua: Keep IGNORE off until the alignment with other ports
Reviewed by: bofh
Approved by: bofh
Differential Revision: https://reviews.freebsd.org/D47824 |
0.13_9,3 23 Nov 2024 14:26:47 |
Muhammad Moinur Rahman (bofh) |
devel/kyua: Fix port
Somehow during the previous commit review I missed the include
directive which caused sanity failures. |
0.13_9,3 15 Nov 2024 12:55:55 |
Igor Ostapenko (igoro) |
devel/kyua: Deprecate in favor of the base version
- Kyua is part of the base in all supported versions
- Kyua's evolution happens in the base, let's avoid duplicating work
- Set EXPIRATION_DATE to 2026-04-30 (expected 13 branch EOL)
Reviewed by: bofh
Approved by: bofh
Differential Revision: https://reviews.freebsd.org/D47473 |
0.13_8,3 23 Feb 2024 11:25:01 |
Muhammad Moinur Rahman (bofh) |
devel/kyua: Update to latest snapshot
- Moved man to share/man
- Adopt based on last commit. Somehow despite mentioning about adoption
I missed to change the MAINTAINER.
Approved by: jmmv (private mail) |
0.13_7,3 03 Jan 2024 05:27:55 |
Muhammad Moinur Rahman (bofh) |
devel/kyua: Switch to FreeBSD upstream
- As per the recent discussion switch to the FreeBSD upstream
- For now resetting MAINTAINER to myself with ci@ hat on but anyone from
ci@ feel free to commit
- Pet port{clippy|fmt}
PR: 276071
Approved by: jmmv (private mail) |
0.13_6,3 03 Nov 2023 12:00:08 |
Dan Langille (dvl) |
*/*: Fix broken UCL
Most of this is a missing ] or }. In one case, it was leading
whitespace before a EOM tag.
PR: 259533
Approved by: portmgr (blanket) |
0.13_6,3 07 May 2023 18:38:48 |
Dimitry Andric (dim) |
devel/kyua: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/kyua's Makefile does not explicitly set its C++ standard,
this leads to several errors:
In file included from cli/cmd_about.cpp:29:
In file included from ./cli/cmd_about.hpp:35:
./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std'
typedef std::auto_ptr< cli_command > cli_command_ptr;
~~~~~^
In file included from cli/cmd_db_exec.cpp:29:
In file included from ./cli/cmd_db_exec.hpp:37:
./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std'
typedef std::auto_ptr< cli_command > cli_command_ptr; (Only the first 15 lines of the commit message are shown above ) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.13_5,3 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.13_5,3 29 Oct 2021 09:50:18 |
Stefan Eßer (se) |
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket) |
0.13_5,3 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.13_5,3 06 Apr 2021 14:31:13 |
Mathieu Arnold (mat) |
all: Remove all other $FreeBSD keywords. |
0.13_5,3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.13_5,3 27 Feb 2021 07:05:21 |
tobik |
devel/kyua: Pet portlint
Also while here replace MAKE_FLAGS with MAKE_ARGS and since the
submission was almost there also pet portclippy.
PR: 231843
Submitted by: takefu@airport.fm
Approved by: jmmv (maintainer timeout, >2 years) |
0.13_5,3 23 Apr 2020 08:14:36 |
bapt |
Add the actual message |
0.13_5,3 23 Apr 2020 08:14:05 |
bapt |
Add a message to inform binary package user about the procedure
to perform to move the tests users into the right default group |
0.13_4,3 22 Apr 2020 18:01:16 |
brooks |
Create and use a tests group for the tests user.
Nobody but nobody should be a member of the nobody group.
PR: 245107
Approved by: maintainer timeout
Sponsored by: DARPA |
0.13_4,3 24 May 2017 14:34:19 |
asomers |
devel/kyua: Install kyua.conf as a sample file
Previously, kyua upgrades would override users' changes to
/usr/local/etc/kyua/kyua.conf. Now the upgrade will only affect
/usr/local/etc/kyua/kyua.conf.sample.
PR: 217990
Reported by: ngie
Reviewed by: jmmv, ngie
Approved by: jmmv (maintainer)
Approved by: brd (ports)
Sponsored by: Spectra Logic Corp |
0.13_3,3 19 May 2017 19:26:33 |
bdrewery |
WITH_CCACHE_BUILD: Don't leak ccache in as a runtime-dependency.
fmake and bmake's := feature does not evaluate a variable immediately
if it does not yet exist (bmake's manpage notes this). In this case
BUILD_DEPENDS is empty but later gets ccache added to it. So when
RUN_DEPENDS is finally evaluated it actually gets ccache in it.
This line was not useful anyhow since there were not BUILD_DEPENDS to add
in; LIB_DEPENDS is its own unique thing that works as a BUILD and RUN
dependency but not directly related to the other variables.
Sponsored by: Dell EMC Isilon |
0.13_2,3 21 Apr 2017 07:38:31 |
ngie |
Fix utils/datetime_test:timestamp__subtraction
Don't expect a negative time delta to throw an exception--instead, expect
1 microsecond to be returned per the behavior change made in r436312.
Approved by: brooks (as part of a larger diff), (maintainer timeout)
Differential Revision: D10316
PR: 217973
Reported by: Jenkins
Reviewed by: asomers
Sponsored by: Dell EMC Isilon |
0.13_1,3 21 Apr 2017 07:35:13 |
ngie |
devel/kyua: remove $FreeBSD$ RCS keyword from patch added in r436312
No functional change.
Approved by: brooks (as part of a larger diff), (maintainer timeout)
Differential Revision: D10316
Requested by: mat
Sponsored by: Dell EMC Isilon |
0.13_1,3 16 Mar 2017 23:12:44 |
brooks |
Hack around wall clock time going backwards.
As reported in https://github.com/jmmv/kyua/issues/155, the wall clock
time can go backwards resulting in an apparent negative delta. As
a workaround, convert such deltas to 1us. This allows tests to run
successfully in MIPS64 qemu.
Approved by: jmmv (maintainer)
Sponsored by: DARPA, AFRL |
0.13,3 26 Aug 2016 14:58:33 |
jmmv |
Update devel/kyua to 0.13 from 0.11:
**Released on August 26th, 2016.**
* Fixed execution of test cases as an unprivileged user, at least under
NetBSD 7.0. Kyua-level failures were probably a regression introduced
in Kyua 0.12, but the underlying may have existed for much longer:
test cases might have previously failed for mysterious reasons when
running under an unprivileged user.
* Issue #134: Fixed metadata test broken on 32-bit platforms.
* Issue #139: Added per-test case start/end timestamps to all reports.
* Issue #156: Fixed crashes due to the invalid handling of cleanup (Only the first 15 lines of the commit message are shown above ) |
0.11_1,3 08 Apr 2016 15:58:46 |
lwhsu |
- Fix printing out binary/UTF-8 characters by backporting fix from 0.12
Submitted by: ngie
Reviewed by: rodrigc
Approved by: jmmv (maintainer)
Differential Revision: https://reviews.freebsd.org/D5851 |
0.11,3 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.11,3 30 Mar 2016 16:47:46 |
brd |
Revert devel/kyua due to random segfaults during longer runs.
See: https://github.com/jmmv/kyua/issues/156
Approved by: jmmv (maintainer), bdrewery (mentor) |
0.12,2 23 Nov 2015 03:03:34 |
jmmv |
Update devel/kyua to 0.12.
**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.
(Only the first 15 lines of the commit message are shown above ) |
0.11_1,2 30 Oct 2015 22:43:16 |
bapt |
Bump portrevision of ports that might have been built with a broken post-install
script due to fallouts of r399992 |
0.11,2 30 Oct 2014 16:42:22 |
jmmv |
Update devel/kyua to 0.11.
Released on October 23rd, 2014.
* Added support to print the details of all test cases (metadata and
their output) to 'report'. This is via a new '--verbose' flag which
replaces the previous '--show-context'.
* Added support to specify the amount of physical disk space required
by a test case. This is in the form of a new "required_disk_space"
metadata property, which can also be provided by ATF test cases as
"require.diskspace".
* Assimilated the contents of all the kyua-*-tester(1) and
kyua-*-interface(7) manual pages into more relevant places. In (Only the first 15 lines of the commit message are shown above ) |
0.10_1,2 27 Oct 2014 10:40:08 |
bapt |
Cleanup plist |
0.10_1,2 25 Sep 2014 09:41:24 |
jmmv |
Fix TAP parsing bugs.
Pull up an upstream fix to properly deal with the TAP output of several
FreeBSD tests. Do this before a new Kyua release so that I and others can
properly test the changes before Kyua 0.11 is cut.
The FreeBSD test suite no longer reports failures caused by bad TAP parsing.
Bump PORTREVISION to 1.
Differential Revision: D832
Approved by: bapt (ports) |
0.10,2 14 Aug 2014 20:21:57 |
jmmv |
Update kyua to 0.10:
This change merges the kyua-{atf-compat,cli,testers} packages
into a single devel/kyua package, just as upstream has done, and brings
Kyua to version 0.10.
The list of changes since kyua-cli 0.9 and kyua-testers 0.3:
Experimental version released on August 14th, 2014.
* Merged 'kyua-cli' and 'kyua-testers' into a single 'kyua' package.
* Dropped the 'kyua-atf-compat' package.
* Issue 100: Do not try to drop privileges to unprivileged_user when we (Only the first 15 lines of the commit message are shown above ) |
20140215,1 15 Feb 2014 23:45:22 |
jmmv |
Turn devel/kyua into a meta-port and add devel/kyua-cli.
The existing devel/kyua package should have been named devel/kyua-cli to
match the upstream structure. Do the rename now and make devel/kyua be
a meta-port that depends on all kyua packages.
Because there is no version number to represent Kyua as a whole (that's
a problem I have to resolve upstream somehow), bump the epoch of
devel/kyua and use today's date as the version.
No entry should be necessary in MOVED because upgrading to the new
meta-port should do the right thing.
Approved by: bdrewery |
0.8_2 11 Feb 2014 03:48:38 |
jmmv |
Install tests for lutok, kyua-testers and kyua.
This is all conditionalized on a TEST option.
Approved by: bdrewery |
0.8_1 25 Jan 2014 20:24:30 |
jmmv |
Remove FreeBSD svn keyword form pkg-plist files.
Approved by: bapt (ports) |
0.8_1 24 Jan 2014 19:46:57 |
jmmv (src committer) |
Add staging support to kyua* and lutok.
While doing this, consolidate file handling into pkg-plist (instead of
the previous split between the Makefile and the pkg-plist) for simplicity.
Reviewed by: asomers (ex-maintainer)
Approved by: bdrewery (ports) |
0.8_1 13 Jan 2014 21:29:45 |
asomers (src committer) |
Change maintainer of devel/{lutok,kyua-testers,kyua,kyua-atf-compat} from
Alan Somers to Julio Merino, who is also the upstream maintainer.
Approved by: bdrewery |
0.8_1 27 Dec 2013 20:45:03 |
jmmv (src committer) |
Add a tests user to run unprivileged tests as; use it in devel/kyua.
This new user carries a generic 'tests' name because, even though it is
only used by devel/kyua at this point, it could conceivably be used by
other tools.
Bump PORTREVISION of devel/kyua to 1.
PR: ports/182891
Approved by: asomers (maintainer), bdrewery (ports), rpaulo (mentor) |
0.8 10 Dec 2013 23:03:44 |
jmmv (src committer) |
Update to 0.8.
Approved by: rpaulo (mentor), asomers (maintainer), bdrewery (ports) |
0.7 21 Oct 2013 23:12:02 |
asomers (src committer) |
Update to version 0.7. This version depends on the newly updated lutok-0.3.
PR: 183089
Submitted by: Julio Merino <julio@meroh.net>
Reviewed by: asomers
Approved by: bdrewery |
0.6 26 Sep 2013 20:08:39 |
eadler |
Certain automated tools fail when @FreeBSD.org is not capitalized appropriatly.
Fix ports which don't follow convention. |
0.6 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.6 16 Jun 2013 14:22:13 |
bdrewery |
New port: devel/kyua:
Kyua (pronounced Q.A.) is a testing framework for both developers and
users. Kyua is different from most other testing frameworks in that it
puts the end user experience before anything else. There are multiple
reasons for users to run the tests themselves, and Kyua ensures that
they can do so in the most convenient way.
At the moment, Kyua is focused on implementing a solid foundation and a
powerful command-line tool to run tests implemented with the Automated
Testing Framework (ATF). Later on, Kyua will also provide a set of
language bindings (C, C++ and shell, at the least) to ease the
implementation of test cases in a variety of programming languages.
In effect, Kyua is intended to be a replacement for ATF.
WWW: https://code.google.com/p/kyua/
PR: ports/177641
Submitted by: asomers
Reviewed by: Garrett Cooper <yaneurabeya@gmail.com> |