/atf, Automated testing framework
0.20, Package name:
atf-0.20, Maintainer: jmmv
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, which can be found in
Master sites: SHA1:
Version history: (Expand)
- (2014-02-08) Updated to version: atf-0.20
- (2013-11-17) Updated to version: atf-0.18
- (2013-02-15) Updated to version: atf-0.17
- (2012-07-11) Updated to version: atf-0.16
- (2012-07-01) Updated to version: atf-0.15nb1
- (2012-01-17) Updated to version: atf-0.15
CVS history: (Expand)
| 2014-02-08 16:54:58 by Julio Merino | Files touched by this commit (11) | |
Update ATF to 0.20.
This change upgrades devel/atf to 0.20 and removes devel/atf-libs. The
upstream atf distfile has dropped the code for the deprecated tools so
it makes little sense to keep the two packages any longer.
As a result of this, the devel/atf package is now much simplified as
there is no need for a Makefile.common any longer and matches exactly
what upstream ships.
Changes in version 0.20
Experimental version released on February 7th, 2014.
This is the first release without the code for the deprecated tools. If
you require such code, please fetch a copy of the 0.19 release and extract
the 'tools' directory for your own consumption.
* Removed the deprecated tools. This includes atf-config, atf-report,
atf-run and atf-version.
Changes in version 0.19
Experimental version released on February 7th, 2014.
This is the last release to bundle the code for the deprecated tools.
The next release will drop their code and will stop worrying about
backwards compatibility between the ATF libraries and what the old tools
may or may not support.
If you still require the old tools for some reason, grab a copy of the
'tools' directory now. The code in this directory is standalone and
does not depend on any internal details of atf-c++ any longer.
* Various fixes and improvements to support running as part of the FreeBSD
* Project hosting moved from Google Code (as a subproject of Kyua) to
GitHub (as a first-class project). The main reason for the change is
the suppression of binary downloads in Google Code on Jan 15th, 2014.
* Removed builtin help from atf-sh(1) and atf-check(1) for simplicity
reasons. In other words, their -h option is gone.
* Moved the code of the deprecated tools into a 'tools' directory and
completely decoupled their code from the internals of atf-c++. The
reason for this is to painlessly allow a third-party to maintain a
copy of these tools after we delete them because upcoming changes to
atf-c++ would break the stale tools.
| 2013-11-16 21:26:54 by Julio Merino | Files touched by this commit (2) | |
Update atf to 0.18:
Experimental version released on November 16th, 2013.
* Issue 45: Added require.memory support in atf-run for FreeBSD.
* Fixed an issue with the handling of cin with libc++.
* Issue 64: Fixed various mandoc formatting warnings.
* NetBSD PR bin/48284: Made atf-check flush its progress message to
stdout so that an interrupted test case always shows the last message
* NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3).
| 2013-02-27 23:21:14 by Jonathan Perkin | Files touched by this commit (3) |
Need getopt.h on SunOS.
| 2013-02-14 19:36:12 by Julio Merino | Files touched by this commit (4) | |
Update atf and atf-libs to 0.17:
* Added the atf_utils_cat_file, atf_utils_compare_file,
atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists,
atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string,
atf_utils_readline, atf_utils_redirect and atf_utils_wait utility
functions to atf-c-api. Documented the already-public
* Added the cat_file, compare_file, copy_file, create_file, file_exists,
fork, grep_collection, grep_file, grep_string, redirect and wait
functions to the atf::utils namespace of atf-c++-api. These are
wrappers around the same functions added to the atf-c-api library.
* Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and
ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a
string against a regular expression.
* Miscellaneous fixes for manpage typos and compilation problems with
* Added caching of the results of those configure tests that rely on
executing a test program. This should help crossbuild systems by
providing a mechanism to pre-specify what the results should be.
* PR bin/45690: Make atf-report convert any non-printable characters to
a plain-text representation (matching their corresponding hexadecimal
entities) in XML output files. This is to prevent the output of test
cases from breaking xsltproc later.
| 2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460) |
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
| 2012-07-11 00:02:59 by Julio Merino | Files touched by this commit (5) | |
Update to ATF 0.16:
Experimental version released on July 10th, 2012.
* Added a --enable-tools flag to configure to request the build of the
deprecated ATF tools, whose build is now disabled by default. In order
to continue running tests, you should migrate to Kyua instead of enabling
the build of the deprecated tools. The kyua-atf-compat package provides
transitional compatibility versions of atf-run and atf-report built on
top of Kyua.
* Tweaked the ATF_TEST_CASE macro of atf-c++ so that the compiler can
detect defined but unused test cases.
* PR bin/45859: Fixed some XSLT bugs that resulted in the tc-time and
tp-time XML tags leaking into the generated HTML file. Also improved
the CSS file slightly to correct alignment and color issues with the
* Optimized atf-c++/macros.hpp so that GNU G++ consumes less memory during
compilation with GNU G++.
* Flipped the default to building shared libraries for atf-c and atf-c++,
and started versioning them. As a side-effect, this removes the
--enable-unstable-shared flag from configure that appears to not work any
more (under NetBSD). Additionally, some distributions require the use of
shared libraries for proper dependency tracking (e.g. Fedora), so it is
better if we do the right versioning upstream.
* Project hosting moved from an adhoc solution (custom web site and
Monotone repository) to Google Code (standard wiki and Git). ATF now
lives in a subcomponent of the Kyua project.
| 2012-07-01 17:27:43 by Julio Merino | Files touched by this commit (5) |
Split the ATF libraries into their own devel/atf-libs package.
This change adds a new atf-libs package that provides the libatf-c,
libatf-c++ and libatf-sh libraries by themselves, without any of the
ATF runtime tools. The atf package has been modified to only install
the runtime utilities (atf-run and atf-report being the major ones)
and depend on atf-libs.
The purpose of this change is to allow packages that install tests to
depend on a lighter-weight package, and to allow the addition of the
upcoming kyua-atf-compat package. The latter will be a package that
provides atf-run and atf-report replacements based on kyua-cli, and
therefore will conflict with the atf tools (but not the libraries).
While doing this, fix the pkgconfig overrides and ensure that we use
the right version of the ATF libraries given that disabling shared
library building appears to have been broken, possibly for a while.
| 2012-02-26 18:25:07 by Julio Merino | Files touched by this commit (1) |
Use new web site and downloads location.