<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/atf, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:30Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>atf_pytest_wrapper: fix use with pytest-7.4</title>
<updated>2023-08-04T14:08:05Z</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=06185987d36ffdeff4e34608bb910fe629c76da5'/>
<id>urn:sha1:06185987d36ffdeff4e34608bb910fe629c76da5</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

(cherry picked from commit 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
</content>
</entry>
<entry>
<title>Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr&lt;&gt;.</title>
<updated>2023-05-02T23:47:59Z</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=11a98ef22a4f212747507cd0014e7dfb2d8db11f'/>
<id>urn:sha1:11a98ef22a4f212747507cd0014e7dfb2d8db11f</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

(cherry picked from commit 42fb28cef42e883d808c9efadd44016563248817)
</content>
</entry>
<entry>
<title>atf_pytest_wrapper: fix pytest output truncation</title>
<updated>2023-02-09T15:45:28Z</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=a28a4cb5e9090806b6a7f8912f3ddcc1dfc57217'/>
<id>urn:sha1:a28a4cb5e9090806b6a7f8912f3ddcc1dfc57217</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

(cherry picked from commit 058ac3e8063366dafa634d9107642e12b038bf09)
</content>
</entry>
<entry>
<title>testing: provide meaningful error when pytest is not available</title>
<updated>2023-01-13T21:24:10Z</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=1c78434956641ee7b722f4f2a6cbcf5394753887'/>
<id>urn:sha1:1c78434956641ee7b722f4f2a6cbcf5394753887</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

(cherry picked from commit 2bfd8b5b9419b0ceb3dd0295fdf413d32969e5b2)
</content>
</entry>
<entry>
<title>testing: pass ATF vars to pytest via env instead of arguments.</title>
<updated>2023-01-13T21:24:10Z</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=cdd12f62eb32a3d6f72d5980af538870ef54637e'/>
<id>urn:sha1:cdd12f62eb32a3d6f72d5980af538870ef54637e</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

(cherry picked from commit 513ce835b55831d343185e03a51efa2901405ac8)
</content>
</entry>
<entry>
<title>testing: workaround pytest parser bug in pytest-atf-wrapper.</title>
<updated>2023-01-13T21:24:10Z</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=1c97b8e2eb06f643dd6393d7aee90ef4b7f07a47'/>
<id>urn:sha1:1c97b8e2eb06f643dd6393d7aee90ef4b7f07a47</id>
<content type='text'>
Reviewed by:	lwhsu, kp
Differential Revision: https://reviews.freebsd.org/D35614
MFC after:	2 weeks

(cherry picked from commit 9c42645a1e4d6695730187aef0f1494394503624)
</content>
</entry>
<entry>
<title>testing: move atf-pytest-wrapper to /usr/libexec</title>
<updated>2023-01-13T21:24:10Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-06-26T11:46:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a923023113f10af96fd783877dd1f1eb8515e3e'/>
<id>urn:sha1:8a923023113f10af96fd783877dd1f1eb8515e3e</id>
<content type='text'>
Move pytest wrapper to the collection of the other atf wrappers
 in libexec. It solves the problem of combining bits &amp; pieces from
 bsd.test.mk and bgs.prog.mk to address "test binary, but not the
 suite binary".

Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D35604
MFC after:	2 weeks

(cherry picked from commit 924226fba12cc9a228c73b956e1b7fa24c60b055)
</content>
</entry>
<entry>
<title>pkgbase: Install atf and kyua in the tests package</title>
<updated>2021-01-04T15:20:47Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@freebsd.org</email>
</author>
<published>2020-12-21T22:36:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=066a8c691e6751e281e529938c620f183299229a'/>
<id>urn:sha1:066a8c691e6751e281e529938c620f183299229a</id>
<content type='text'>
While here make sure that all tests dirs are taggued correctly.

Reviewed by:	bapt, emaste
Differential Revision:	https://reviews.freebsd.org/D27714
</content>
</entry>
<entry>
<title>Another round of attempting to squelch -Wdeprecated-declarations, which</title>
<updated>2019-09-17T06:07:08Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-09-17T06:07:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c3f47a727372086b41ef9ce06eb1f1eb83a67d3'/>
<id>urn:sha1:2c3f47a727372086b41ef9ce06eb1f1eb83a67d3</id>
<content type='text'>
has become very trigger-happy with libc++ 9.0.0.

It does not help that gcc's implementation of this warning is even more
trigger-happy, in the sense that it already warns on the declaration
itself, not when you are using it.  This is very annoying with our use
of -Wsystem-headers.  That should really be disabled for gcc.
</content>
</entry>
</feed>
