notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
atf C, C++ and shell libraries to write ATF-compliant test programs
0.21_3 devel on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.21_3Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-10-29 22:58:54
Last Update: 2024-01-30 20:25:09
Commit Hash: 3cb40cf
People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
License: BSD3CLAUSE
WWW:
https://github.com/jmmv/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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (118 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/atf-0.21_3/catalog.mk
  3. /usr/local/share/licenses/atf-0.21_3/LICENSE
  4. /usr/local/share/licenses/atf-0.21_3/BSD3CLAUSE
  5. bin/atf-sh
  6. include/atf-c++.hpp
  7. include/atf-c++/build.hpp
  8. include/atf-c++/check.hpp
  9. include/atf-c++/macros.hpp
  10. include/atf-c++/tests.hpp
  11. include/atf-c++/utils.hpp
  12. include/atf-c.h
  13. include/atf-c/build.h
  14. include/atf-c/check.h
  15. include/atf-c/defs.h
  16. include/atf-c/error.h
  17. include/atf-c/error_fwd.h
  18. include/atf-c/macros.h
  19. include/atf-c/tc.h
  20. include/atf-c/tp.h
  21. include/atf-c/utils.h
  22. lib/libatf-c++.a
  23. lib/libatf-c++.so
  24. lib/libatf-c++.so.2
  25. lib/libatf-c++.so.2.0.0
  26. lib/libatf-c.a
  27. lib/libatf-c.so
  28. lib/libatf-c.so.1
  29. lib/libatf-c.so.1.0.0
  30. libdata/pkgconfig/atf-c++.pc
  31. libdata/pkgconfig/atf-c.pc
  32. libdata/pkgconfig/atf-sh.pc
  33. libexec/atf-check
  34. share/man/man1/atf-check.1.gz
  35. share/man/man1/atf-sh.1.gz
  36. share/man/man1/atf-test-program.1.gz
  37. share/man/man3/atf-c++-api.3.gz
  38. share/man/man3/atf-c++.3.gz
  39. share/man/man3/atf-c-api.3.gz
  40. share/man/man3/atf-c.3.gz
  41. share/man/man3/atf-sh-api.3.gz
  42. share/man/man3/atf-sh.3.gz
  43. share/man/man4/atf-test-case.4.gz
  44. share/man/man7/atf.7.gz
  45. share/aclocal/atf-c++.m4
  46. share/aclocal/atf-c.m4
  47. share/aclocal/atf-common.m4
  48. share/aclocal/atf-sh.m4
  49. share/atf/libatf-sh.subr
  50. share/doc/atf/AUTHORS
  51. share/doc/atf/COPYING
  52. share/doc/atf/NEWS
  53. share/doc/atf/README
  54. tests/atf/Kyuafile
  55. tests/atf/atf-c/Kyuafile
  56. tests/atf/atf-c/macros_h_test.c
  57. tests/atf/atf-c/unused_test.c
  58. tests/atf/atf-c/atf_c_test
  59. tests/atf/atf-c/build_test
  60. tests/atf/atf-c/check_test
  61. tests/atf/atf-c/error_test
  62. tests/atf/atf-c/macros_test
  63. tests/atf/atf-c/tc_test
  64. tests/atf/atf-c/tp_test
  65. tests/atf/atf-c/utils_test
  66. tests/atf/atf-c/pkg_config_test
  67. tests/atf/atf-c/detail/Kyuafile
  68. tests/atf/atf-c/detail/dynstr_test
  69. tests/atf/atf-c/detail/env_test
  70. tests/atf/atf-c/detail/fs_test
  71. tests/atf/atf-c/detail/list_test
  72. tests/atf/atf-c/detail/map_test
  73. tests/atf/atf-c/detail/process_helpers
  74. tests/atf/atf-c/detail/process_test
  75. tests/atf/atf-c/detail/sanity_test
  76. tests/atf/atf-c/detail/text_test
  77. tests/atf/atf-c/detail/user_test
  78. tests/atf/atf-c/detail/version_helper
  79. tests/atf/atf-c++/Kyuafile
  80. tests/atf/atf-c++/macros_hpp_test.cpp
  81. tests/atf/atf-c++/unused_test.cpp
  82. tests/atf/atf-c++/atf_c++_test
  83. tests/atf/atf-c++/build_test
  84. tests/atf/atf-c++/check_test
  85. tests/atf/atf-c++/macros_test
  86. tests/atf/atf-c++/tests_test
  87. tests/atf/atf-c++/utils_test
  88. tests/atf/atf-c++/pkg_config_test
  89. tests/atf/atf-c++/detail/Kyuafile
  90. tests/atf/atf-c++/detail/application_test
  91. tests/atf/atf-c++/detail/auto_array_test
  92. tests/atf/atf-c++/detail/env_test
  93. tests/atf/atf-c++/detail/exceptions_test
  94. tests/atf/atf-c++/detail/fs_test
  95. tests/atf/atf-c++/detail/process_test
  96. tests/atf/atf-c++/detail/text_test
  97. tests/atf/atf-c++/detail/version_helper
  98. tests/atf/atf-sh/Kyuafile
  99. tests/atf/atf-sh/misc_helpers
  100. tests/atf/atf-sh/atf_check_test
  101. tests/atf/atf-sh/atf-check_test
  102. tests/atf/atf-sh/config_test
  103. tests/atf/atf-sh/integration_test
  104. tests/atf/atf-sh/normalize_test
  105. tests/atf/atf-sh/tc_test
  106. tests/atf/atf-sh/tp_test
  107. tests/atf/test-programs/Kyuafile
  108. tests/atf/test-programs/c_helpers
  109. tests/atf/test-programs/cpp_helpers
  110. tests/atf/test-programs/sh_helpers
  111. tests/atf/test-programs/config_test
  112. tests/atf/test-programs/expect_test
  113. tests/atf/test-programs/meta_data_test
  114. tests/atf/test-programs/result_test
  115. tests/atf/test-programs/srcdir_test
  116. @owner
  117. @group
  118. @mode
Collapse this list.
Dependency lines:
  • atf>0:devel/atf
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 = 1704164615 SHA256 (freebsd-atf-0.21-55c21b2_GH0.tar.gz) = cfb4c031ee61a827f6f0aa0b061e263cc6db1292be9eb9f5d54050bfcdee30f5 SIZE (freebsd-atf-0.21-55c21b2_GH0.tar.gz) = 198322

Packages (timestamps in pop-ups are UTC):
atf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.21_30.21_30.210.21_30.21_3-0.21-
FreeBSD:13:quarterly0.21_30.21_30.21_10.21_30.21_30.21_20.21_20.21_2
FreeBSD:14:latest0.21_30.21_30.210.21_30.21_30.21_1-0.21_1
FreeBSD:14:quarterly0.21_30.21_3-0.21_30.21_30.21_20.21_20.21_2
FreeBSD:15:latest0.21_30.21_3n/a0.21_3n/a0.21_30.21_30.21_3
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. autoconf>=2.71 : devel/autoconf
  2. automake>=1.16.5 : devel/automake
  3. libtoolize : devel/libtool
This port is required by:
for Build
  1. devel/lutok

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/kyua-atf-compat*
  2. devel/kyua-cli*
  3. devel/kyua-testers*
  4. Collapse this list of deleted ports.
for Run
  1. devel/lutok

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/kyua-atf-compat*
  2. devel/kyua-cli*
  3. devel/kyua-testers*
  4. Collapse this list of deleted ports.
* - 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.21_3: 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/freebsd/atf/tar.gz/55c21b2?dummy=/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.21_3
30 Jan 2024 20:25:09
commit hash: 3cb40cf517a2d305a817fa85779d174c8be16dd6commit hash: 3cb40cf517a2d305a817fa85779d174c8be16dd6commit hash: 3cb40cf517a2d305a817fa85779d174c8be16dd6commit hash: 3cb40cf517a2d305a817fa85779d174c8be16dd6 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/atf: Moved man to share/man
0.21_2
03 Jan 2024 05:27:54
commit hash: 46cb35fc19b7733d0bae04a867013ef9ac66fb41commit hash: 46cb35fc19b7733d0bae04a867013ef9ac66fb41commit hash: 46cb35fc19b7733d0bae04a867013ef9ac66fb41commit hash: 46cb35fc19b7733d0bae04a867013ef9ac66fb41 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
commit hash: b7ba1dd95f249f56f10501da5235f3f21f54e9adcommit hash: b7ba1dd95f249f56f10501da5235f3f21f54e9adcommit hash: b7ba1dd95f249f56f10501da5235f3f21f54e9adcommit hash: b7ba1dd95f249f56f10501da5235f3f21f54e9ad files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
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 View all of this commit message)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.21
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.21
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.21
02 Dec 2016 09:21:59
Revision:427548Original commit files touched by this commit
mat search for other commits by this committer
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
0.21
21 Oct 2016 12:51:41
Revision:424411Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
0.21
30 Oct 2014 16:39:59
Revision:371762Original commit files touched by this commit
jmmv search for other commits by this committer
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 View all of this commit message)
0.20_1
27 Oct 2014 07:32:26
Revision:371533Original commit files touched by this commit
bapt search for other commits by this committer
Nuke some @dirrm from devel
0.20_1
26 May 2014 02:57:19
Revision:355276Original commit files touched by this commit
jmmv search for other commits by this committer
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
Revision:355077Original commit files touched by this commit
jmmv search for other commits by this committer
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
Revision:354343Original commit files touched by this commit
jmmv search for other commits by this committer
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
Revision:343429Original commit files touched by this commit
jmmv search for other commits by this committer
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
Revision:327722Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
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
Revision:306816Original commit files touched by this commit
bdrewery search for other commits by this committer
- 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
Revision:306650Original commit files touched by this commit
bdrewery search for other commits by this committer
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

Number of commits found: 18