notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
atf C, C++ and shell libraries to write ATF-compliant test programs
0.21 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
0.21Version of this port present on the latest quarterly branch.
Maintainer: search for ports maintained by this maintainer
Port Added: 2012-10-29 22:58:54
Last Update: 2016-12-02 09:21:59
SVN Revision: 427548
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.

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


There is no flavor information for this port.


SHA256 (atf-0.21.tar.gz) = 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505
SIZE (atf-0.21.tar.gz) = 567791

This port is required by:

for Build for Run * - 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:
     DOCS=on: Build and/or install documentation
     TEST=on: Build and/or run tests
===> Use 'make config' to modify these settings


Master Sites:

Number of commits found: 11

Commit History - (may be incomplete: see SVNWeb link above for full details)
02 Dec 2016 09:21:59
Original commit files touched by this commit  0.21
mat search for other commits by this committer redirects to, spare everyone a redirect.

Sponsored by:	Absolight
21 Oct 2016 12:51:41
Original commit files touched by this commit  0.21
Revision:424411  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
30 Oct 2014 16:39:59
Original commit files touched by this commit  0.21
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)
27 Oct 2014 07:32:26
Original commit files touched by this commit  0.20_1
bapt search for other commits by this committer
Nuke some @dirrm from devel
26 May 2014 02:57:19
Original commit files touched by this commit  0.20_1
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)
24 May 2014 20:11:06
Original commit files touched by this commit  0.20
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)
17 May 2014 17:03:25
Original commit files touched by this commit  0.20
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 hacks by just using MAKE_FLAGS.

... which basically means this really is a full rewrite of the port.

Approved by:	bapt, bdrewery
09 Feb 2014 04:03:21
Original commit files touched by this commit  0.16_2
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
Refresh Original commit files touched by this commit
Revision:327722  Sanity Test Failure
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)
01 Nov 2012 18:42:59
Original commit files touched by this commit  0.16_1
bdrewery search for other commits by this committer
- Install tools by default to match the base version

PR:		ports/173224
Submitted by:	Roman Naumann <> (maintainer)
Feature safe:	yes
29 Oct 2012 22:58:42
Original commit files touched by this commit  0.16
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

Note that ATF is included in the base system since FreeBSD 10, so this
port does not need to be installed on FreeBSD 10.


PR:		ports/173197
Submitted by:	Roman Naumann <>
Reviewed by:	bapt, eadler
Feature safe:	yes

Number of commits found: 11

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
zncJun 22
firefoxJun 21
firefox-esrJun 21
thunderbirdJun 21
thunderbirdJun 21
firefox*Jun 20
firefox-esr*Jun 20
vlcJun 20
vlcJun 20
waterfox*Jun 20
ImageMagick6*Jun 17
ImageMagick6-nox11*Jun 17
ImageMagick7*Jun 17
ImageMagick7-nox11*Jun 17
GraphicsMagickJun 16

16 vulnerabilities affecting 123 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-22 13:48:42

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 36733
Broken 85
Deprecated 126
Ignore 308
Forbidden 3
Restricted 162
Vulnerable 32
Expired 14
Set to expire 96
Interactive 0
new 24 hours 4
new 48 hours8
new 7 days34
new fortnight69
new month154

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.