Commit graph

3 commits

Author SHA1 Message Date
jmmv
8e896c2715 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
  test suite.

* 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.
  See https://github.com/jmmv/atf/

* 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.
2014-02-08 15:54:58 +00:00
jmmv
584a7496b5 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-07-01 15:27:43 +00:00
jmmv
8114aa7f28 Update to 0.14:
Experimental version released on June 14th, 2011.

* Added a pkg-config file for atf-sh and an aclocal file to ease the
  detection of atf-sh from autoconf scripts.

* Made the default test case body defined by atf_sh fail.  This is to
  ensure that test cases are properly defined in test programs and helps
  in catching typos in the names of the body functions.

* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
  This provides more consistent results with "normal" execution (in
  particular, when tests are executed detached from a terminal).

* Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
  that does not take into account that libc determines the current timezone
  from a configuration file.

* All test programs will now print a warning when they are not run through
  atf-run(1) stating that this is unsupported and may deliver incorrect
  results.

* Added support for the 'require.files' test-case property.  This allows
  test cases to specify installed files that must be present for the test
  case to run.

And, while doing this, add a buildlink3.mk file.
2011-06-14 13:55:15 +00:00