<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/atf, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-01-29T15:15:39Z</updated>
<entry>
<title>atf: Switch from std::auto_ptr&lt;&gt; to std::unique_ptr&lt;&gt;</title>
<updated>2026-01-29T15:15:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-04-16T14:10:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4973f97daab7222eedfb0a5f1d30e5d122d3d1d'/>
<id>urn:sha1:f4973f97daab7222eedfb0a5f1d30e5d122d3d1d</id>
<content type='text'>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D49789

(cherry picked from commit 5e6befdaca5194a8fb91b48d5f678942f22fa8f1)
</content>
</entry>
<entry>
<title>atf, kyua: Implement require.kmods.</title>
<updated>2025-09-23T12:57:35Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-05-31T12:27:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af3e311a27341a567624dbae3ad84b65ec066858'/>
<id>urn:sha1:af3e311a27341a567624dbae3ad84b65ec066858</id>
<content type='text'>
This adds a metadata variable, require.kmods, and corresponding functions
or methods in C, C++, and shell, which allow a test to specify that it
requires particular kernel modules to run.  If the kernel modules are not
present, the test is skipped.  One might want to consider a kyua option
which makes it attempt to load the modules instead.

Differential Revision:	https://reviews.freebsd.org/D47470

(cherry picked from commit 83a1ee578c9d1ab7013e997289c7cd470c0e6902)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>atf_pytest_wrapper: fix use with pytest-7.4</title>
<updated>2023-07-21T09:23:21Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-07-18T14:20:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f23cbd6cae82fd77edfad7173432fa8dccd0a95'/>
<id>urn:sha1:9f23cbd6cae82fd77edfad7173432fa8dccd0a95</id>
<content type='text'>
As of pytest 7.4 it no longer walks all the way to the root directory
of the file system to find conftest files. As a result we don't find /
usr/tests/conftest.py, and don't load atf_python. That in turn causes
atf_python tests to fail.

Explicitly set the confcutdir, as advised by the pytest changelog.

See also:	https://github.com/pytest-dev/pytest/pull/11043
MFC after:	3 weeks
Sponsored by:	Orange Business Services
Differential Revision:	https://reviews.freebsd.org/D41064
</content>
</entry>
<entry>
<title>Update/fix Makefile.depend for userland</title>
<updated>2023-04-19T00:14:23Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2023-04-19T00:14:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d9a42747950146bf03cda7f6e25d219253f8a57a'/>
<id>urn:sha1:d9a42747950146bf03cda7f6e25d219253f8a57a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>atf_pytest_wrapper: fix pytest output truncation</title>
<updated>2022-12-28T17:31:14Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@gmail.com</email>
</author>
<published>2022-12-28T17:28:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=058ac3e8063366dafa634d9107642e12b038bf09'/>
<id>urn:sha1:058ac3e8063366dafa634d9107642e12b038bf09</id>
<content type='text'>
Pass `-vv` to pytest in order to always get the full output.
While here, enforce the modeline.

Differential Revision: https://reviews.freebsd.org/D37894
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr&lt;&gt;.</title>
<updated>2022-12-05T00:25:21Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-11-30T22:56:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42fb28cef42e883d808c9efadd44016563248817'/>
<id>urn:sha1:42fb28cef42e883d808c9efadd44016563248817</id>
<content type='text'>
GCC 12 defaults to C++17 which removes (not just deprecates)
std::auto_ptr&lt;&gt;.  Trying to use CXXSTD of c++03 doesn't work with
libc++ headers, but c++11 does.

Reviewed by:	brooks, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D37531
</content>
</entry>
<entry>
<title>testing: provide meaningful error when pytest is not available</title>
<updated>2022-07-06T19:55:58Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-07-06T19:55:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2bfd8b5b9419b0ceb3dd0295fdf413d32969e5b2'/>
<id>urn:sha1:2bfd8b5b9419b0ceb3dd0295fdf413d32969e5b2</id>
<content type='text'>
atf format does not provide any way of signalling any error message
 back to the atf runner when listing tests. Work this around by
 reporting "__test_cases_list_pytest_binary_not_found__" test instead.

Reviewed By: kp
Differential Revision: https://reviews.freebsd.org/D35721
</content>
</entry>
<entry>
<title>testing: pass ATF vars to pytest via env instead of arguments.</title>
<updated>2022-06-28T12:20:16Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-06-28T10:49:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=513ce835b55831d343185e03a51efa2901405ac8'/>
<id>urn:sha1:513ce835b55831d343185e03a51efa2901405ac8</id>
<content type='text'>
This change is a continuation of 9c42645a1e4d workaround.
Apparently pytest argument parser is not happy when parsing values
 with spaces or just more than one --atf-var argument.
Switch wrapper to send these kv pairs as env variables. Specifically,
 use _ATF_VAR_key=value format to distinguish from the other vars.

Add the `atf_vars` fixture returning all passed kv pairs as a dict.

Reviewed by:	lwhsu
Differential Revision: https://reviews.freebsd.org/D35625
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>testing: workaround pytest parser bug in pytest-atf-wrapper.</title>
<updated>2022-06-27T17:30:53Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-06-27T15:52:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9c42645a1e4d6695730187aef0f1494394503624'/>
<id>urn:sha1:9c42645a1e4d6695730187aef0f1494394503624</id>
<content type='text'>
Reviewed by:	lwhsu, kp
Differential Revision: https://reviews.freebsd.org/D35614
MFC after:	2 weeks
</content>
</entry>
</feed>
