Port details |
- atf C, C++ and shell libraries to write ATF-compliant test programs
- 0.22 devel =3 0.21_3Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2012-10-29 22:58:54
- Last Update: 2024-11-30 17:16:31
- Commit Hash: bf60003
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- License: BSD3CLAUSE
- WWW:
- https://github.com/freebsd/atf
- Description:
- The Automated Testing Framework (ATF) is a collection of libraries to
implement test programs in a variety of languages. At the moment, ATF
offers C, C++ and POSIX shell bindings with which to implement tests.
These bindings all offer a similar set of functionality and any test
program written with them exposes a consistent user interface.
ATF-based test programs rely on a separate runtime engine to execute them.
The runtime engine is in charge of isolating the test programs from the
rest of the system to ensure that their results are deterministic and that
they cannot affect the running system. The runtime engine is also
responsible for gathering the results of all tests and composing reports.
The current runtime of choice is Kyua.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/atf/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/atf
- pkg install atf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: atf
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1732981011
SHA256 (atf-0.22.tar.gz) = e186c079b5140e894bcb6936a08db4f4bbcb816c8497a7e8d7d34344b4ee1b63
SIZE (atf-0.22.tar.gz) = 5467648
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:
-
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- libtoolize : devel/libtool
- This port is required by:
- for Build
-
- devel/kyua
- devel/lutok
-
Deleted ports which required this port:
- for Run
-
- devel/kyua
- devel/lutok
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for atf-0.22:
DOCS=on: Build and/or install documentation
TEST=on: Build and/or run tests
===> Use 'make config' to modify these settings
- Options name:
- devel_atf
- USES:
- autoreconf libtool pathfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.22 30 Nov 2024 17:16:31 |
Muhammad Moinur Rahman (bofh) |
devel/atf: Update version 0.21=>0.22
Changelog: https://github.com/freebsd/atf/releases/tag/atf-0.22
Sponsored by: The FreeBSD Foundation |
0.21_4 24 Nov 2024 22:28:23 |
Muhammad Moinur Rahman (bofh) |
devel/atf: Update snapshot 5c21b2=>511d921
- Update WWW [1]
PR: 244144 [1]
Reported by: cem [1] |
0.21_3 30 Jan 2024 20:25:09 |
Muhammad Moinur Rahman (bofh) |
devel/atf: Moved man to share/man |
0.21_2 03 Jan 2024 05:27:54 |
Muhammad Moinur Rahman (bofh) |
devel/atf: 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.21_1 07 May 2023 18:38:47 |
Dimitry Andric (dim) |
devel/atf: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/atf's Makefile does not explicitly set its C++ standard,
this leads to several errors:
In file included from atf-c++/check.cpp:26:
./atf-c++/check.hpp:74:17: error: no template named 'auto_ptr' in namespace
'std'
friend std::auto_ptr< check_result > exec(const
atf::process::argv_array&);
~~~~~^
./atf-c++/check.hpp:123:6: error: no template named 'auto_ptr' in namespace
'std'
std::auto_ptr< check_result > exec(const atf::process::argv_array&);
~~~~^
In file included from atf-c++/tests.cpp:26:
./atf-c++/tests.hpp:76:10: error: no template named 'auto_ptr' in namespace
'std' (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.21 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.21 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.21 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.21 02 Dec 2016 09:21:59 |
mat |
http://github.com redirects to https://github.com, spare everyone a redirect.
Sponsored by: Absolight |
0.21 21 Oct 2016 12:51:41 |
mat |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
0.21 30 Oct 2014 16:39:59 |
jmmv |
Update devel/atf to 0.21.
Released on October 23rd, 2014.
* Restored the atf(7) manual page to serve as a reference to all the other
manual pages shipped by ATF.
* Added the -s flag to atf-sh to support specifying the shell interpreter
to be used.
* Removed ATF_WORKDIR. The only remaining consumers have been converted to
use the standard TMPDIR environment variable. As a benefit, and because
Kyua forces the TMPDIR to live within the test case's work directory,
any stale files left behind by ATF will be automatically cleaned up.
(Only the first 15 lines of the commit message are shown above ) |
0.20_1 27 Oct 2014 07:32:26 |
bapt |
Nuke some @dirrm from devel |
0.20_1 26 May 2014 02:57:19 |
jmmv |
Enable the TEST option by default in atf-based ports.
Get ports that use the atf libraries to install their tests by default.
This is to showcase the potential of getting the tests installed on a
live system and will also simplify the process of running them periodically
out of /usr/local/tests/.
Packages confirmed to build with this option enabled.
Approved by: bapt (ports) |
0.20 24 May 2014 20:11:06 |
jmmv |
Change ports that use the ATF libraries to depend on devel/atf.
As part of this, make it possible to install devel/atf independently of
the presence of ATF in the base system. This is so that we can turn the
ATF libraries in base into private libraries.
Note that this should have no effect on prebuilt binary packages because
these changes only apply when the TEST option is selected, and this option
is not yet the default.
Approved by: eadler (ports) |
0.20 17 May 2014 17:03:25 |
jmmv |
Update devel/atf to 0.20 and modernize the port.
This includes:
- Taking ownership of the package (with ack from previous maintainer).
- Forcing all file registrations into pkg-plist.
- Fully dropping support for the deprecated tools.
- Adding support for the TEST option.
- Properly using libtool via USES.
- Not using OSREVISION to determine whether atf can or can't be installed.
- Avoiding Makefile.in hacks by just using MAKE_FLAGS.
... which basically means this really is a full rewrite of the port.
Approved by: bapt, bdrewery |
0.16_2 09 Feb 2014 04:03:21 |
jmmv |
Stop handling the 'tests' directory.
We now rely on BSD.local.dist from ports to create /usr/local/tests.
Bump the port revision to 2.
Approved by: bdrewery |
20 Sep 2013 17:03:27
|
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 1) |
0.16_1 01 Nov 2012 18:42:59 |
bdrewery |
- Install tools by default to match the base version
PR: ports/173224
Submitted by: Roman Naumann <namor@hemio.de> (maintainer)
Feature safe: yes |
0.16 29 Oct 2012 22:58:42 |
bdrewery |
The Automated Testing Framework (ATF) is a collection of libraries and
utilities designed to ease unattended application testing in the hands of
developers and end users of a specific piece of software.
As regards developers, ATF provides the necessary means to easily create
test suites composed of multiple test programs, which in turn are a
collection of test cases. It also attempts to simplify the debugging of
problems when these test cases detect an error by providing as much
information as possible about the failure.
As regards users, it simplifies the process of running the test suites and,
in special, encourages end users to run them often: they do not need to
have source trees around nor any other development tools installed to be
able to certify that a given piece of software works on their machine as
advertised.
Note that ATF is included in the base system since FreeBSD 10, so this
port does not need to be installed on FreeBSD 10.
WWW: http://code.google.com/p/kyua/wiki/ATF
PR: ports/173197
Submitted by: Roman Naumann <namor@hemio.de>
Reviewed by: bapt, eadler
Feature safe: yes |