Home | History | Annotate | Line # | Download | only in dist
NEWS revision 1.1.1.13
      1   1.1.1.5  jmmv Major changes between releases                  Automated Testing Framework
      2   1.1.1.5  jmmv ===========================================================================
      3       1.1  jmmv 
      4       1.1  jmmv 
      5  1.1.1.13  jmmv Changes in version 0.19
      6  1.1.1.13  jmmv ***********************
      7  1.1.1.13  jmmv 
      8  1.1.1.13  jmmv Experimental version released on February 7th, 2014.
      9  1.1.1.13  jmmv 
     10  1.1.1.13  jmmv This is the last release to bundle the code for the deprecated tools.
     11  1.1.1.13  jmmv The next release will drop their code and will stop worrying about
     12  1.1.1.13  jmmv backwards compatibility between the ATF libraries and what the old tools
     13  1.1.1.13  jmmv may or may not support.
     14  1.1.1.13  jmmv 
     15  1.1.1.13  jmmv If you still require the old tools for some reason, grab a copy of the
     16  1.1.1.13  jmmv 'tools' directory now.  The code in this directory is standalone and
     17  1.1.1.13  jmmv does not depend on any internal details of atf-c++ any longer.
     18  1.1.1.13  jmmv 
     19  1.1.1.13  jmmv * Various fixes and improvements to support running as part of the FreeBSD
     20  1.1.1.13  jmmv   test suite.
     21  1.1.1.13  jmmv 
     22  1.1.1.13  jmmv * Project hosting moved from Google Code (as a subproject of Kyua) to
     23  1.1.1.13  jmmv   GitHub (as a first-class project).  The main reason for the change is
     24  1.1.1.13  jmmv   the suppression of binary downloads in Google Code on Jan 15th, 2014.
     25  1.1.1.13  jmmv   See https://github.com/jmmv/atf/
     26  1.1.1.13  jmmv 
     27  1.1.1.13  jmmv * Removed builtin help from atf-sh(1) and atf-check(1) for simplicity
     28  1.1.1.13  jmmv   reasons.  In other words, their -h option is gone.
     29  1.1.1.13  jmmv 
     30  1.1.1.13  jmmv * Moved the code of the deprecated tools into a 'tools' directory and
     31  1.1.1.13  jmmv   completely decoupled their code from the internals of atf-c++.  The
     32  1.1.1.13  jmmv   reason for this is to painlessly allow a third-party to maintain a
     33  1.1.1.13  jmmv   copy of these tools after we delete them because upcoming changes to
     34  1.1.1.13  jmmv   atf-c++ would break the stale tools.
     35  1.1.1.13  jmmv 
     36  1.1.1.13  jmmv 
     37  1.1.1.13  jmmv Changes in version 0.18
     38  1.1.1.13  jmmv ***********************
     39  1.1.1.13  jmmv 
     40  1.1.1.13  jmmv Experimental version released on November 16th, 2013.
     41  1.1.1.13  jmmv 
     42  1.1.1.13  jmmv * Issue 45: Added require.memory support in atf-run for FreeBSD.
     43  1.1.1.13  jmmv 
     44  1.1.1.13  jmmv * Fixed an issue with the handling of cin with libc++.
     45  1.1.1.13  jmmv 
     46  1.1.1.13  jmmv * Issue 64: Fixed various mandoc formatting warnings.
     47  1.1.1.13  jmmv 
     48  1.1.1.13  jmmv * NetBSD PR bin/48284: Made atf-check flush its progress message to
     49  1.1.1.13  jmmv   stdout so that an interrupted test case always shows the last message
     50  1.1.1.13  jmmv   being executed.
     51  1.1.1.13  jmmv 
     52  1.1.1.13  jmmv * NetBSD PR bin/48285: Fixed atf_check examples in atf-sh-api(3).
     53  1.1.1.13  jmmv 
     54  1.1.1.13  jmmv 
     55  1.1.1.12  jmmv Changes in version 0.17
     56  1.1.1.12  jmmv ***********************
     57  1.1.1.12  jmmv 
     58  1.1.1.12  jmmv Experimental version released on February 14th, 2013.
     59  1.1.1.12  jmmv 
     60  1.1.1.12  jmmv * Added the atf_utils_cat_file, atf_utils_compare_file,
     61  1.1.1.12  jmmv   atf_utils_copy_file, atf_utils_create_file, atf_utils_file_exists,
     62  1.1.1.12  jmmv   atf_utils_fork, atf_utils_grep_file, atf_utils_grep_string,
     63  1.1.1.12  jmmv   atf_utils_readline, atf_utils_redirect and atf_utils_wait utility
     64  1.1.1.12  jmmv   functions to atf-c-api.  Documented the already-public
     65  1.1.1.12  jmmv   atf_utils_free_charpp function.
     66  1.1.1.12  jmmv 
     67  1.1.1.12  jmmv * Added the cat_file, compare_file, copy_file, create_file, file_exists,
     68  1.1.1.12  jmmv   fork, grep_collection, grep_file, grep_string, redirect and wait
     69  1.1.1.12  jmmv   functions to the atf::utils namespace of atf-c++-api.  These are
     70  1.1.1.12  jmmv   wrappers around the same functions added to the atf-c-api library.
     71  1.1.1.12  jmmv 
     72  1.1.1.12  jmmv * Added the ATF_CHECK_MATCH, ATF_CHECK_MATCH_MSG, ATF_REQUIRE_MATCH and
     73  1.1.1.12  jmmv   ATF_REQUIRE_MATCH_MSG macros to atf-c to simplify the validation of a
     74  1.1.1.12  jmmv   string against a regular expression.
     75  1.1.1.12  jmmv 
     76  1.1.1.12  jmmv * Miscellaneous fixes for manpage typos and compilation problems with
     77  1.1.1.12  jmmv   clang.
     78  1.1.1.12  jmmv 
     79  1.1.1.12  jmmv * Added caching of the results of those configure tests that rely on
     80  1.1.1.12  jmmv   executing a test program.  This should help crossbuild systems by
     81  1.1.1.12  jmmv   providing a mechanism to pre-specify what the results should be.
     82  1.1.1.12  jmmv 
     83  1.1.1.12  jmmv * PR bin/45690: Make atf-report convert any non-printable characters to
     84  1.1.1.12  jmmv   a plain-text representation (matching their corresponding hexadecimal
     85  1.1.1.12  jmmv   entities) in XML output files.  This is to prevent the output of test
     86  1.1.1.12  jmmv   cases from breaking xsltproc later.
     87  1.1.1.12  jmmv 
     88  1.1.1.12  jmmv 
     89  1.1.1.11  jmmv Changes in version 0.16
     90  1.1.1.11  jmmv ***********************
     91  1.1.1.11  jmmv 
     92  1.1.1.11  jmmv Experimental version released on July 10th, 2012.
     93  1.1.1.11  jmmv 
     94  1.1.1.11  jmmv * Added a --enable-tools flag to configure to request the build of the
     95  1.1.1.11  jmmv   deprecated ATF tools, whose build is now disabled by default.  In order
     96  1.1.1.11  jmmv   to continue running tests, you should migrate to Kyua instead of enabling
     97  1.1.1.11  jmmv   the build of the deprecated tools.  The kyua-atf-compat package provides
     98  1.1.1.11  jmmv   transitional compatibility versions of atf-run and atf-report built on
     99  1.1.1.11  jmmv   top of Kyua.
    100  1.1.1.11  jmmv 
    101  1.1.1.11  jmmv * Tweaked the ATF_TEST_CASE macro of atf-c++ so that the compiler can
    102  1.1.1.11  jmmv   detect defined but unused test cases.
    103  1.1.1.11  jmmv 
    104  1.1.1.11  jmmv * PR bin/45859: Fixed some XSLT bugs that resulted in the tc-time and
    105  1.1.1.11  jmmv   tp-time XML tags leaking into the generated HTML file.  Also improved
    106  1.1.1.11  jmmv   the CSS file slightly to correct alignment and color issues with the
    107  1.1.1.11  jmmv   timestamps column.
    108  1.1.1.11  jmmv 
    109  1.1.1.11  jmmv * Optimized atf-c++/macros.hpp so that GNU G++ consumes less memory during
    110  1.1.1.11  jmmv   compilation with GNU G++.
    111  1.1.1.11  jmmv 
    112  1.1.1.11  jmmv * Flipped the default to building shared libraries for atf-c and atf-c++,
    113  1.1.1.11  jmmv   and started versioning them.  As a side-effect, this removes the
    114  1.1.1.11  jmmv   --enable-unstable-shared flag from configure that appears to not work any
    115  1.1.1.11  jmmv   more (under NetBSD).  Additionally, some distributions require the use of
    116  1.1.1.11  jmmv   shared libraries for proper dependency tracking (e.g. Fedora), so it is
    117  1.1.1.11  jmmv   better if we do the right versioning upstream.
    118  1.1.1.11  jmmv 
    119  1.1.1.11  jmmv * Project hosting moved from an adhoc solution (custom web site and
    120  1.1.1.11  jmmv   Monotone repository) to Google Code (standard wiki and Git).  ATF now
    121  1.1.1.11  jmmv   lives in a subcomponent of the Kyua project.
    122  1.1.1.11  jmmv 
    123  1.1.1.11  jmmv 
    124  1.1.1.10  jmmv Changes in version 0.15
    125  1.1.1.10  jmmv ***********************
    126  1.1.1.10  jmmv 
    127  1.1.1.10  jmmv Experimental version released on January 16th, 2012.
    128  1.1.1.10  jmmv 
    129  1.1.1.10  jmmv * Respect stdin in atf-check.  The previous release silenced stdin for any
    130  1.1.1.10  jmmv   processes spawned by atf, not only test programs, which caused breakage
    131  1.1.1.10  jmmv   in tests that pipe data through atf-check.
    132  1.1.1.10  jmmv 
    133  1.1.1.10  jmmv * Performance improvements to atf-sh.
    134  1.1.1.10  jmmv 
    135  1.1.1.10  jmmv * Enabled detection of unused parameters and variables in the code and
    136  1.1.1.10  jmmv   fixed all warnings.
    137  1.1.1.10  jmmv 
    138  1.1.1.10  jmmv * Changed the behavior of "developer mode".  Compiler warnings are now
    139  1.1.1.10  jmmv   enabled unconditionally regardless of whether we are in developer mode or
    140  1.1.1.10  jmmv   not; developer mode is now only used to perform strict warning checks and
    141  1.1.1.10  jmmv   to enable assertions.  Additionally, developer mode is now only
    142  1.1.1.10  jmmv   automatically enabled when building from the repository, not for formal
    143  1.1.1.10  jmmv   releases.
    144  1.1.1.10  jmmv 
    145  1.1.1.10  jmmv * Added new Autoconf M4 macros (ATF_ARG_WITH, ATF_CHECK_C and
    146  1.1.1.10  jmmv   ATF_CHECK_CXX) to provide a consistent way of defining a --with-arg flag
    147  1.1.1.10  jmmv   in configure scripts and detecting the presence of any of the ATF
    148  1.1.1.10  jmmv   bindings.  Note that ATF_CHECK_SH was already introduced in 0.14, but it
    149  1.1.1.10  jmmv   has now been modified to also honor --with-atf if instantiated.
    150  1.1.1.10  jmmv 
    151  1.1.1.10  jmmv * Added timing support to atf-run / atf-report.
    152  1.1.1.10  jmmv 
    153  1.1.1.10  jmmv * Added support for a 'require.memory' property, to specify the minimum
    154  1.1.1.10  jmmv   amount of physical memory needed by the test case to yield valid results.
    155  1.1.1.10  jmmv 
    156  1.1.1.10  jmmv * PR bin/45690: Force an ISO-8859-1 encoding in the XML files generated by
    157  1.1.1.10  jmmv   atf-report so that invalid data in the output of test cases does not
    158  1.1.1.10  jmmv   mangle our report.
    159  1.1.1.10  jmmv 
    160  1.1.1.10  jmmv 
    161   1.1.1.9  jmmv Changes in version 0.14
    162   1.1.1.9  jmmv ***********************
    163   1.1.1.9  jmmv 
    164   1.1.1.9  jmmv Experimental version released on June 14th, 2011.
    165   1.1.1.9  jmmv 
    166   1.1.1.9  jmmv * Added a pkg-config file for atf-sh and an aclocal file to ease the
    167   1.1.1.9  jmmv   detection of atf-sh from autoconf scripts.
    168   1.1.1.9  jmmv 
    169   1.1.1.9  jmmv * Made the default test case body defined by atf_sh fail.  This is to
    170   1.1.1.9  jmmv   ensure that test cases are properly defined in test programs and helps
    171   1.1.1.9  jmmv   in catching typos in the names of the body functions.
    172   1.1.1.9  jmmv 
    173   1.1.1.9  jmmv * PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
    174   1.1.1.9  jmmv   This provides more consistent results with "normal" execution (in
    175   1.1.1.9  jmmv   particular, when tests are executed detached from a terminal).
    176   1.1.1.9  jmmv 
    177   1.1.1.9  jmmv * Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
    178   1.1.1.9  jmmv   that does not take into account that libc determines the current timezone
    179   1.1.1.9  jmmv   from a configuration file.
    180   1.1.1.9  jmmv 
    181   1.1.1.9  jmmv * All test programs will now print a warning when they are not run through
    182   1.1.1.9  jmmv   atf-run(1) stating that this is unsupported and may deliver incorrect
    183   1.1.1.9  jmmv   results.
    184   1.1.1.9  jmmv 
    185   1.1.1.9  jmmv * Added support for the 'require.files' test-case property.  This allows
    186   1.1.1.9  jmmv   test cases to specify installed files that must be present for the test
    187   1.1.1.9  jmmv   case to run.
    188   1.1.1.9  jmmv 
    189   1.1.1.9  jmmv 
    190   1.1.1.8  jmmv Changes in version 0.13
    191   1.1.1.8  jmmv ***********************
    192   1.1.1.8  jmmv 
    193   1.1.1.8  jmmv Experimental version released on March 31st, 2011.
    194   1.1.1.8  jmmv 
    195   1.1.1.8  jmmv This is the first release after the creation of the Kyua project, a more
    196   1.1.1.8  jmmv modular and reliable replacement for ATF.  From now on, ATF will change to
    197   1.1.1.8  jmmv accomodate the transition to this new codebase, but ATF will still continue
    198   1.1.1.8  jmmv to see development in the short/medium term.  Check out the project page at
    199   1.1.1.8  jmmv http://code.google.com/p/kyua/ for more details.
    200   1.1.1.8  jmmv 
    201   1.1.1.8  jmmv The changes in this release are:
    202   1.1.1.8  jmmv 
    203   1.1.1.8  jmmv * Added support to run the tests with the Kyua runtime engine (kyua-cli), a
    204   1.1.1.8  jmmv   new package that aims to replace atf-run and atf-report.  The ATF tests
    205   1.1.1.8  jmmv   can be run with the new system by issuing a 'make installcheck-kyua' from
    206   1.1.1.8  jmmv   the top-level directory of the project (assuming the 'kyua' binary is
    207   1.1.1.8  jmmv   available during the configuration stage of ATF).
    208   1.1.1.8  jmmv 
    209   1.1.1.8  jmmv * atf-run and atf-report are now in maintenance mode (but *not* deprecated
    210   1.1.1.8  jmmv   yet!).  Kyua already implements a new, much more reliable runtime engine
    211   1.1.1.8  jmmv   that provides similar features to these tools.  That said, it is not
    212   1.1.1.8  jmmv   complete yet so all development efforts should go towards it.
    213   1.1.1.8  jmmv 
    214   1.1.1.8  jmmv * If GDB is installed, atf-run dumps the stack trace of crashing test
    215   1.1.1.8  jmmv   programs in an attempt to aid debugging.  Contributed by Antti Kantee.
    216   1.1.1.8  jmmv 
    217   1.1.1.8  jmmv * Reverted default timeout change in previous release and reset its value
    218   1.1.1.8  jmmv   to 5 minutes.  This was causing several issues, specially when running
    219   1.1.1.8  jmmv   the existing NetBSD test suite in qemu.
    220   1.1.1.8  jmmv 
    221   1.1.1.8  jmmv * Fixed the 'match' output checker in atf-check to properly validate the
    222   1.1.1.8  jmmv   last line of a file even if it does not have a newline.
    223   1.1.1.8  jmmv 
    224   1.1.1.8  jmmv * Added the ATF_REQUIRE_IN and ATF_REQUIRE_NOT_IN macros to atf-c++ to
    225   1.1.1.8  jmmv   check for the presence (or lack thereof) of an element in a collection.
    226   1.1.1.8  jmmv 
    227   1.1.1.8  jmmv * PR bin/44176: Fixed a race condition in atf-run that would crash atf-run
    228   1.1.1.8  jmmv   when the cleanup of a test case triggered asynchronous modifications to
    229   1.1.1.8  jmmv   its work directory (e.g. killing a daemon process that cleans up a pid
    230   1.1.1.8  jmmv   file in the work directory).
    231   1.1.1.8  jmmv 
    232   1.1.1.8  jmmv * PR bin/44301: Fixed the sample XSLT file to report bogus test programs
    233   1.1.1.8  jmmv   instead of just listing them as having 0 test cases.
    234   1.1.1.8  jmmv 
    235   1.1.1.8  jmmv 
    236   1.1.1.7  jmmv Changes in version 0.12
    237   1.1.1.7  jmmv ***********************
    238   1.1.1.7  jmmv 
    239   1.1.1.7  jmmv Experimental version released on November 7th, 2010.
    240   1.1.1.7  jmmv 
    241   1.1.1.7  jmmv * Added the ATF_REQUIRE_THROW_RE to atf-c++, which is the same as
    242   1.1.1.7  jmmv   ATF_REQUIRE_THROW but allows checking for the validity of the exception's
    243   1.1.1.7  jmmv   error message by means of a regular expression.
    244   1.1.1.7  jmmv 
    245   1.1.1.7  jmmv * Added the ATF_REQUIRE_MATCH to atf-c++, which allows checking for a
    246   1.1.1.7  jmmv   regular expression match in a string.
    247   1.1.1.7  jmmv 
    248   1.1.1.7  jmmv * Changed the default timeout for test cases from 5 minutes to 30 seconds.
    249   1.1.1.7  jmmv   30 seconds is long enough for virtually all tests to complete, and 5
    250   1.1.1.7  jmmv   minutes is a way too long pause in a test suite where a single test case
    251   1.1.1.7  jmmv   stalls.
    252   1.1.1.7  jmmv 
    253   1.1.1.7  jmmv * Deprecated the use.fs property.  While this seemed like a good idea in
    254   1.1.1.7  jmmv   the first place to impose more control on what test cases can do, it
    255   1.1.1.7  jmmv   turns out to be bad.  First, use.fs=false prevents bogus test cases
    256   1.1.1.7  jmmv   from dumping core so after-the-fact debugging is harder.  Second,
    257   1.1.1.7  jmmv   supporting use.fs adds a lot of unnecessary complexity.  atf-run will
    258   1.1.1.7  jmmv   now ignore any value provided to use.fs and will allow test cases to
    259   1.1.1.7  jmmv   freely access the file system if they wish to.
    260   1.1.1.7  jmmv 
    261   1.1.1.7  jmmv * Added the atf_tc_get_config_var_as_{bool,long}{,_wd} functions to the atf-c
    262   1.1.1.7  jmmv   library.  The 'text' module became private in 0.11 but was being used
    263   1.1.1.7  jmmv   externally to simplify the parsing of configuration variables.
    264   1.1.1.7  jmmv 
    265   1.1.1.7  jmmv * Made atf-run recognize the 'unprivileged-user' configuration variable
    266   1.1.1.7  jmmv   and automatically drop root privileges when a test case sets
    267   1.1.1.7  jmmv   require.user=unprivileged.  Note that this is, by no means, done for
    268   1.1.1.7  jmmv   security purposes; this is just for user convenience; tests should, in
    269   1.1.1.7  jmmv   general, not be blindly run as root in the first place.
    270   1.1.1.7  jmmv 
    271   1.1.1.7  jmmv 
    272   1.1.1.6  jmmv Changes in version 0.11
    273   1.1.1.6  jmmv ***********************
    274   1.1.1.6  jmmv 
    275   1.1.1.6  jmmv Experimental version released on October 20th, 2010.
    276   1.1.1.6  jmmv 
    277   1.1.1.6  jmmv * The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
    278   1.1.1.6  jmmv   their counterparts in atf-c.
    279   1.1.1.6  jmmv 
    280   1.1.1.6  jmmv * Clearly separated the modules in atf-c that are supposed to be public
    281   1.1.1.6  jmmv   from those that are implementation details.  The header files for the
    282   1.1.1.6  jmmv   internal modules are not installed any more.
    283   1.1.1.6  jmmv 
    284   1.1.1.6  jmmv * Made the atf-check tool private.  It is only required by atf-sh and being
    285   1.1.1.6  jmmv   public has the danger of causing confusion.  Also, making it private
    286   1.1.1.6  jmmv   simplifies the public API of atf.
    287   1.1.1.6  jmmv 
    288   1.1.1.6  jmmv * Changed atf-sh to enable per-command error checking (set -e) by default.
    289   1.1.1.6  jmmv   This catches many cases in which a test case is broken but it is not
    290   1.1.1.6  jmmv   reported as such because execution continues.
    291   1.1.1.6  jmmv 
    292   1.1.1.6  jmmv * Fixed the XSTL and CSS stylesheets to support expected failures.
    293   1.1.1.6  jmmv 
    294   1.1.1.6  jmmv 
    295   1.1.1.5  jmmv Changes in version 0.10
    296   1.1.1.5  jmmv ***********************
    297       1.1  jmmv 
    298   1.1.1.5  jmmv Experimental version released on July 2nd, 2010.
    299       1.1  jmmv 
    300   1.1.1.5  jmmv Miscellaneous features
    301       1.1  jmmv 
    302   1.1.1.5  jmmv * Added expected failures support to test cases and atf-run.  These
    303   1.1.1.5  jmmv   include, for example, expected clean exits, expected reception of fatal
    304   1.1.1.5  jmmv   signals, expected timeouts and expected errors in condition checks.
    305   1.1.1.5  jmmv   These statuses can be used to denote test cases that are known to fail
    306   1.1.1.5  jmmv   due to a bug in the code they are testing.  atf-report reports these
    307   1.1.1.5  jmmv   tests separately but they do not count towards the failed test cases
    308   1.1.1.5  jmmv   amount.
    309       1.1  jmmv 
    310   1.1.1.5  jmmv * Added the ATF_CHECK_ERRNO and ATF_REQUIRE_ERRNO to the C library to
    311   1.1.1.5  jmmv   allow easy checking of call failures that update errno.
    312       1.1  jmmv 
    313   1.1.1.5  jmmv * Added the has.cleanup meta-data property to test caes that specifies
    314   1.1.1.5  jmmv   whether the test case has a cleanup routine or not; its value is
    315   1.1.1.5  jmmv   automatically set.  This property is read by atf-run to know if it has to
    316   1.1.1.5  jmmv   run the cleanup routine; skipping this run for every test case
    317   1.1.1.5  jmmv   significantly speeds up the run time of test suites.
    318       1.1  jmmv 
    319   1.1.1.5  jmmv * Reversed the order of the ATF_CHECK_THROW macro in the C++ binding to
    320   1.1.1.5  jmmv   take the expected exception as the first argument and the statement to
    321   1.1.1.5  jmmv   execute as the second argument.
    322       1.1  jmmv 
    323   1.1.1.5  jmmv Changes in atf-check
    324   1.1.1.3  jmmv 
    325   1.1.1.5  jmmv * Changed atf-check to support negating the status and output checks by
    326   1.1.1.5  jmmv   prefixing them with not- and added support to specify multiple checkers
    327   1.1.1.5  jmmv   for stdout and stderr, not only one.
    328   1.1.1.4  jmmv 
    329   1.1.1.5  jmmv * Added the match output checker to atf-check to look for regular
    330   1.1.1.5  jmmv   expressions in the stdout and stderr of commands.
    331   1.1.1.4  jmmv 
    332   1.1.1.5  jmmv * Modified the exit checks in atf-check to support checking for the
    333   1.1.1.5  jmmv   reception of signals.
    334   1.1.1.4  jmmv 
    335   1.1.1.5  jmmv Code simplifications and cleanups
    336   1.1.1.4  jmmv 
    337   1.1.1.5  jmmv * Removed usage messages from test programs to simplify the
    338   1.1.1.5  jmmv   implementation of every binding by a significant amount.  They just now
    339   1.1.1.5  jmmv   refer the user to the appropriate manual page and do not attempt to wrap
    340   1.1.1.5  jmmv   lines on terminal boundaries.  Test programs are not supposed to be run
    341   1.1.1.5  jmmv   by users directly so this minor interface regression is not important.
    342   1.1.1.4  jmmv 
    343   1.1.1.5  jmmv * Removed the atf-format internal utility, which is unused after the
    344   1.1.1.5  jmmv   change documented above.
    345   1.1.1.4  jmmv 
    346   1.1.1.5  jmmv * Removed the atf-cleanup internal utility.  It has been unused since the
    347   1.1.1.5  jmmv   test case isolation was moved to atf-run in 0.8
    348   1.1.1.4  jmmv 
    349   1.1.1.5  jmmv * Splitted the Makefile.am into smaller files for easier maintenance and
    350   1.1.1.5  jmmv   dropped the use of M4.  Only affects users building from the repository
    351   1.1.1.5  jmmv   sources.
    352   1.1.1.4  jmmv 
    353   1.1.1.5  jmmv * Intermixed tests with the source files in the source tree to provide
    354   1.1.1.5  jmmv   them more visibility and easier access.  The tests directory is gone from
    355   1.1.1.5  jmmv   the source tree and tests are now suffixed by _test, not prefixed by t_.
    356   1.1.1.3  jmmv 
    357   1.1.1.5  jmmv * Simplifications to the atf-c library: removed the io, tcr and ui
    358   1.1.1.5  jmmv   modules as they had become unnecessary after all simplifications
    359   1.1.1.5  jmmv   introduced since the 0.8 release.
    360   1.1.1.3  jmmv 
    361   1.1.1.5  jmmv * Removed the application/X-atf-tcr format introduced in 0.8 release.
    362   1.1.1.5  jmmv   Tests now print a much simplified format that is easy to parse and nicer
    363   1.1.1.5  jmmv   to read by end users.  As a side effect, the default for test cases is
    364   1.1.1.5  jmmv   now to print their results to stdout unless otherwise stated by providing
    365   1.1.1.5  jmmv   the -r flag.
    366   1.1.1.3  jmmv 
    367   1.1.1.5  jmmv * Removed XML distribution documents and replaced them with plain-text
    368   1.1.1.5  jmmv   documents.  They provided little value and introduced a lot of complexity
    369   1.1.1.5  jmmv   to the build system.
    370   1.1.1.3  jmmv 
    371   1.1.1.5  jmmv * Simplified the output of atf-version by not attempting to print a
    372   1.1.1.5  jmmv   revision number when building form a distfile.  Makes the build system
    373   1.1.1.5  jmmv   easier to maintain.
    374   1.1.1.3  jmmv 
    375   1.1.1.3  jmmv 
    376   1.1.1.5  jmmv Changes in version 0.9
    377   1.1.1.5  jmmv **********************
    378   1.1.1.3  jmmv 
    379   1.1.1.5  jmmv Experimental version released on June 3rd, 2010.
    380   1.1.1.3  jmmv 
    381   1.1.1.5  jmmv * Added atf-sh, an interpreter to process test programs written using
    382   1.1.1.5  jmmv   the shell API.  This is not really a shell interpreter by itself though:
    383   1.1.1.5  jmmv   it is just a wrapper around the system shell that eases the loading of
    384   1.1.1.5  jmmv   the necessary ATF libraries.
    385   1.1.1.3  jmmv 
    386   1.1.1.5  jmmv * Removed atf-compile in favour of atf-sh.
    387   1.1.1.3  jmmv 
    388   1.1.1.5  jmmv * Added the use.fs metadata property to test case, which is used to
    389   1.1.1.5  jmmv   specify which test cases require file system access.  This is to
    390   1.1.1.5  jmmv   highlight dependencies on external resources more clearly and to speed up
    391   1.1.1.5  jmmv   the execution of test suites by skipping the creation of many unnecessary
    392   1.1.1.5  jmmv   work directories.
    393   1.1.1.3  jmmv 
    394   1.1.1.5  jmmv * Fixed test programs to get a sane default value for their source
    395   1.1.1.5  jmmv   directory.  This means that it should not be necessary any more to pass
    396   1.1.1.5  jmmv   -s when running test programs that do not live in the current directory.
    397       1.1  jmmv 
    398   1.1.1.5  jmmv * Defining test case headers became optional.  This is trivial to achieve
    399   1.1.1.5  jmmv   in shell-based tests but a bit ugly in C and C++.  In C, use the new
    400   1.1.1.5  jmmv   ATF_TC_WITHOUT_HEAD macro to define the test case, and in C++ use
    401   1.1.1.5  jmmv   ATF_TEST_CASE_WITHOUT_HEAD.
    402       1.1  jmmv 
    403       1.1  jmmv 
    404   1.1.1.5  jmmv Changes in version 0.8
    405   1.1.1.5  jmmv **********************
    406       1.1  jmmv 
    407   1.1.1.5  jmmv Experimental version released on May 7th, 2010.
    408       1.1  jmmv 
    409   1.1.1.5  jmmv * Test programs no longer run several test cases in a row.  The execution
    410   1.1.1.5  jmmv   of a test program now requires a test case name, and that single test
    411   1.1.1.5  jmmv   case is executed.  To execute several test cases, use the atf-run utility
    412   1.1.1.5  jmmv   as usual.
    413       1.1  jmmv 
    414   1.1.1.5  jmmv * Test programs no longer fork a subprocess to isolate the execution of
    415   1.1.1.5  jmmv   test cases.  They run the test case code in-process, and a crash of the
    416   1.1.1.5  jmmv   test case will result in a crash of the test program.  This is to ease
    417   1.1.1.5  jmmv   debugging of faulty test cases.
    418       1.1  jmmv 
    419   1.1.1.5  jmmv * Test programs no longer isolate their test cases.  This means that they
    420   1.1.1.5  jmmv   will not create temporary directories nor sanitize the environment any
    421   1.1.1.5  jmmv   more.  Yes: running a test case that depends on system state by hand will
    422   1.1.1.5  jmmv   most likely yield different results depending on where (machine,
    423   1.1.1.5  jmmv   directory, user environment, etc.) it is run.  Isolation has been moved
    424   1.1.1.5  jmmv   to atf-run.
    425       1.1  jmmv 
    426   1.1.1.5  jmmv * Test programs no longer print a cryptic format (application/X-atf-tcs)
    427   1.1.1.5  jmmv   on a special file channel.  They can now print whatever they want on the
    428   1.1.1.5  jmmv   screen.  Because test programs can now only run one test case every time,
    429   1.1.1.5  jmmv   providing controlled output is not necessary any more.
    430       1.1  jmmv 
    431   1.1.1.5  jmmv * Test programs no longer write their status into a special file
    432   1.1.1.5  jmmv   descriptor.  Instead, they create a file with the results, which is later
    433   1.1.1.5  jmmv   parsed by atf-run.  This changes the semantics of the -r flag.
    434       1.1  jmmv 
    435   1.1.1.5  jmmv * atf-run has been adjusted to perform the test case isolation.  As a
    436   1.1.1.5  jmmv   result, there is now a single canonical place that implements the
    437   1.1.1.5  jmmv   isolation of test caes.  In previous releases, the three language
    438   1.1.1.5  jmmv   bindings (C, C++ and shell) had to be kept in sync with each other (read:
    439   1.1.1.5  jmmv   not a nice thing to do at all).  As a side effect of this change, writing
    440   1.1.1.5  jmmv   bindings for other languages will be much, much easier from now on.
    441       1.1  jmmv 
    442   1.1.1.5  jmmv * atf-run forks test programs on a test case basis, instead of on a test
    443   1.1.1.5  jmmv   program basis as it did before.  This is to provide the test case
    444   1.1.1.5  jmmv   isolation that was before implemented by the test programs themselves.
    445       1.1  jmmv 
    446   1.1.1.5  jmmv * Removed the atf-exec tool.  This was used to implement test case
    447   1.1.1.5  jmmv   isolation in atf-sh, but it is now unnecessary.
    448       1.1  jmmv 
    449   1.1.1.5  jmmv * It is now optional to define the descr meta-data property.  It has been
    450   1.1.1.5  jmmv   proven to be mostly useless, because test cases often carry a descriptive
    451   1.1.1.5  jmmv   name of their own.
    452       1.1  jmmv 
    453       1.1  jmmv 
    454   1.1.1.5  jmmv Changes in version 0.7
    455   1.1.1.5  jmmv **********************
    456       1.1  jmmv 
    457   1.1.1.5  jmmv Experimental version released on December 22nd, 2009.
    458       1.1  jmmv 
    459   1.1.1.5  jmmv * Added build-time checks to atf-c and atf-c++.  A binding for atf-sh
    460   1.1.1.5  jmmv   will come later.
    461       1.1  jmmv 
    462   1.1.1.5  jmmv * Migrated all build-time checks for header files to proper ATF tests.
    463   1.1.1.5  jmmv   This demonstrates the use of the new feature described above.
    464       1.1  jmmv 
    465   1.1.1.5  jmmv * Added an internal API for child process management.
    466       1.1  jmmv 
    467   1.1.1.5  jmmv * Converted all plain-text distribution documents to a Docbook canonical
    468   1.1.1.5  jmmv   version, and include pre-generated plain text and HTML copies in the
    469   1.1.1.5  jmmv   distribution file.
    470       1.1  jmmv 
    471   1.1.1.5  jmmv * Simplified the contents of the Makefile.am by regenerating it from a
    472   1.1.1.5  jmmv   canonical Makefile.am.m4 source.  As a side-effect, some dependency
    473   1.1.1.5  jmmv   specifications were fixed.
    474       1.1  jmmv 
    475   1.1.1.5  jmmv * Migrated all checks from the check target to installcheck, as these
    476   1.1.1.5  jmmv   require ATF to be installed.
    477       1.1  jmmv 
    478   1.1.1.5  jmmv * Fixed sign comparison mismatches triggered by the now-enabled
    479   1.1.1.5  jmmv   -Wsign-compare.
    480       1.1  jmmv 
    481   1.1.1.5  jmmv * Fixed many memory and object leaks.
    482       1.1  jmmv 
    483       1.1  jmmv 
    484   1.1.1.5  jmmv Changes in version 0.6
    485   1.1.1.5  jmmv **********************
    486       1.1  jmmv 
    487   1.1.1.5  jmmv Experimental version released on January 18th, 2009.
    488       1.1  jmmv 
    489   1.1.1.5  jmmv * Make atf-exec be able to kill its child process after a certain period
    490   1.1.1.5  jmmv   of time; this is controlled through the new -t option.
    491       1.1  jmmv 
    492   1.1.1.5  jmmv * Change atf-sh to use atf-exec's -t option to control the test case's
    493   1.1.1.5  jmmv   timeouts, instead of doing it internally.  Same behavior as before, but
    494   1.1.1.5  jmmv   noticeably faster.
    495       1.1  jmmv 
    496   1.1.1.5  jmmv * atf-exec's -g option and atf-killpg are gone due to the previous
    497   1.1.1.5  jmmv   change.
    498       1.1  jmmv 
    499   1.1.1.5  jmmv * Added the atf-check(1) tool, a program that executes a given command
    500   1.1.1.5  jmmv   and checks its exit code against a known value and allows the management
    501   1.1.1.5  jmmv   of stdout and stderr in multiple ways.  This replaces the previous
    502   1.1.1.5  jmmv   atf_check function in the atf-sh library and exposes this functionality
    503   1.1.1.5  jmmv   to both atf-c and atf-c++.
    504       1.1  jmmv 
    505   1.1.1.5  jmmv * Added the ATF_REQUIRE family of macros to the C interface.  These help
    506   1.1.1.5  jmmv   in checking for fatal test conditions.  The old ATF_CHECK macros now
    507   1.1.1.5  jmmv   perform non-fatal checks only.  I.e. by using ATF_CHECK, the test case
    508   1.1.1.5  jmmv   can now continue its execution and the failures will not be reported
    509   1.1.1.5  jmmv   until the end of the whole run.
    510       1.1  jmmv 
    511   1.1.1.5  jmmv * Extended the amount of ATF_CHECK_* C macros with new ones to provide
    512   1.1.1.5  jmmv   more features to the developer.  These also have their corresponding
    513   1.1.1.5  jmmv   counterparts in the ATF_REQUIRE_* family.  The new macros (listing the
    514   1.1.1.5  jmmv   suffixes only) are: _EQ (replaces _EQUAL), _EQ_MSG, _STREQ and
    515   1.1.1.5  jmmv   _STREQ_MSG.
    516       1.1  jmmv 
    517       1.1  jmmv 
    518   1.1.1.5  jmmv Changes in version 0.5
    519   1.1.1.5  jmmv **********************
    520       1.1  jmmv 
    521   1.1.1.5  jmmv Experimental version released on May 1st, 2008.
    522       1.1  jmmv 
    523   1.1.1.5  jmmv * Clauses 3 and 4 of the BSD license used by the project were dropped.
    524   1.1.1.5  jmmv   All the code is now under a 2-clause BSD license compatible with the GNU
    525   1.1.1.5  jmmv   General Public License (GPL).
    526       1.1  jmmv 
    527   1.1.1.5  jmmv * Added a C-only binding so that binary test programs do not need to be
    528   1.1.1.5  jmmv   tied to C++ at all.  This binding is now known as the atf-c library.
    529       1.1  jmmv 
    530   1.1.1.5  jmmv * Renamed the C++ binding to atf-c++ for consistency with the new atf-c.
    531       1.1  jmmv 
    532   1.1.1.5  jmmv * Renamed the POSIX shell binding to atf-sh for consistency with the new
    533   1.1.1.5  jmmv   atf-c and atf-c++.
    534       1.1  jmmv 
    535   1.1.1.5  jmmv * Added a -w flag to test programs through which it is possible to
    536   1.1.1.5  jmmv   specify the work directory to be used.  This was possible in prior
    537   1.1.1.5  jmmv   releases by defining the workdir configuration variable (-v workdir=...),
    538   1.1.1.5  jmmv   but was a conceptually incorrect mechanism.
    539       1.1  jmmv 
    540   1.1.1.5  jmmv * Test programs now preserve the execution order of test cases when they
    541   1.1.1.5  jmmv   are given in the command line.  Even those mentioned more than once are
    542   1.1.1.5  jmmv   executed multiple times to comply with the user's requests.
    543       1.1  jmmv 
    544       1.1  jmmv 
    545   1.1.1.5  jmmv Changes in version 0.4
    546   1.1.1.5  jmmv **********************
    547       1.1  jmmv 
    548   1.1.1.5  jmmv Experimental version released on February 4th, 2008.
    549       1.1  jmmv 
    550   1.1.1.5  jmmv * Added two new manual pages, atf-c++-api and atf-sh-api, describing the
    551   1.1.1.5  jmmv   C++ and POSIX shell interfaces used to write test programs.
    552       1.1  jmmv 
    553   1.1.1.5  jmmv * Added a pkg-config file, useful to get the flags to build against the
    554   1.1.1.5  jmmv   C++ library or to easily detect the presence of ATF.
    555       1.1  jmmv 
    556   1.1.1.5  jmmv * Added a way for test cases to require a specific architecture and/or
    557   1.1.1.5  jmmv   machine type through the new 'require.arch' and 'require.machine'
    558   1.1.1.5  jmmv   meta-data properties, respectively.
    559       1.1  jmmv 
    560   1.1.1.5  jmmv * Added the 'timeout' property to test cases, useful to set an
    561   1.1.1.5  jmmv   upper-bound limit for the test's run time and thus prevent global test
    562   1.1.1.5  jmmv   program stalls due to the test case's misbehavior.
    563       1.1  jmmv 
    564   1.1.1.5  jmmv * Added the atf-exec(1) internal utility, used to execute a command
    565   1.1.1.5  jmmv   after changing the process group it belongs to.
    566   1.1.1.2  jmmv 
    567   1.1.1.5  jmmv * Added the atf-killpg(1) internal utility, used to kill process groups.
    568   1.1.1.2  jmmv 
    569   1.1.1.5  jmmv * Multiple portability fixes.  Of special interest, full support for
    570   1.1.1.5  jmmv   SunOS (Solaris Express Developer Edition 2007/09) using the Sun Studio 12
    571   1.1.1.5  jmmv   C++ compiler.
    572   1.1.1.2  jmmv 
    573   1.1.1.5  jmmv * Fixed a serious bug that prevented atf-run(1) from working at all
    574   1.1.1.5  jmmv   under Fedora 8 x86_64.  Due to the nature of the bug, other platforms
    575   1.1.1.5  jmmv   were likely affected too.
    576   1.1.1.2  jmmv 
    577   1.1.1.2  jmmv 
    578   1.1.1.5  jmmv Changes in version 0.3
    579   1.1.1.5  jmmv **********************
    580   1.1.1.2  jmmv 
    581   1.1.1.5  jmmv Experimental version released on November 11th, 2007.
    582   1.1.1.2  jmmv 
    583   1.1.1.5  jmmv * Added XML output support to atf-report.  This is accompanied by a DTD
    584   1.1.1.5  jmmv   for the format's structure and sample XSLT/CSS files to post-process this
    585   1.1.1.5  jmmv   output and convert it to a plain HTML report.
    586   1.1.1.5  jmmv 
    587   1.1.1.5  jmmv * Changed atf-run to add system information to the report it generates.
    588   1.1.1.5  jmmv   This is currently used by atf-report's XML output only, and is later
    589   1.1.1.5  jmmv   printed in the HTML reports in a nice and useful summary table.  The user
    590   1.1.1.5  jmmv   and system administrator are allowed to tune this feature by means of
    591   1.1.1.5  jmmv   hooks.
    592   1.1.1.5  jmmv 
    593   1.1.1.5  jmmv * Removed the test cases' 'isolated' property.  This was intended to
    594   1.1.1.5  jmmv   avoid touching the file system at all when running the related test case,
    595   1.1.1.5  jmmv   but this has not been true for a long while: some control files are
    596   1.1.1.5  jmmv   unconditionally required for several purposes, and we cannot easily get
    597   1.1.1.5  jmmv   rid of them.  This way we remove several critical and delicate pieces of
    598   1.1.1.5  jmmv   code.
    599   1.1.1.5  jmmv 
    600   1.1.1.5  jmmv * Improved atf-report's CSV output format to include information about
    601   1.1.1.5  jmmv   test programs too.
    602   1.1.1.5  jmmv 
    603   1.1.1.5  jmmv * Fixed the tests that used atf-compile to not require this tool as a
    604   1.1.1.5  jmmv   helper.  Avoids systems without build-time utilities to skip many tests
    605   1.1.1.5  jmmv   that could otherwise be run.  (E.g. NetBSD without the comp.tgz set
    606   1.1.1.5  jmmv   installed.)
    607   1.1.1.5  jmmv 
    608   1.1.1.5  jmmv * Many general cleanups: Fixed many pieces of code marked as ugly and/or
    609   1.1.1.5  jmmv   incomplete.
    610   1.1.1.5  jmmv 
    611   1.1.1.5  jmmv 
    612   1.1.1.5  jmmv Changes in version 0.2
    613   1.1.1.5  jmmv **********************
    614   1.1.1.5  jmmv 
    615   1.1.1.5  jmmv Experimental version released on September 20th, 2007.
    616   1.1.1.5  jmmv 
    617   1.1.1.5  jmmv * Test cases now get a known umask on entry.
    618   1.1.1.5  jmmv 
    619   1.1.1.5  jmmv * atf-run now detects many unexpected failures caused by test programs and
    620   1.1.1.5  jmmv   reports them as bogus tests.  atf-report is able to handle these new
    621   1.1.1.5  jmmv   errors and nicely reports them to the user.
    622   1.1.1.5  jmmv 
    623   1.1.1.5  jmmv * All the data formats read and written by the tools have been
    624   1.1.1.5  jmmv   documented and cleaned up.  These include those grammars that define how
    625   1.1.1.5  jmmv   the different components communicate with each other as well as the
    626   1.1.1.5  jmmv   format of files written by the developers and users: the Atffiles and the
    627   1.1.1.5  jmmv   configuration files.
    628   1.1.1.5  jmmv 
    629   1.1.1.5  jmmv * Added the atf-version tool, a utility that displays information about
    630   1.1.1.5  jmmv   the currently installed version of ATF.
    631   1.1.1.5  jmmv 
    632   1.1.1.5  jmmv * Test cases can now define an optional cleanup routine to undo their
    633   1.1.1.5  jmmv   actions regardless of their exit status.
    634   1.1.1.5  jmmv 
    635   1.1.1.5  jmmv * atf-report now summarizes the list of failed (bogus) test programs
    636   1.1.1.5  jmmv   when using the ticker output format.
    637   1.1.1.5  jmmv 
    638   1.1.1.5  jmmv * Test programs now capture some termination signals and clean up any
    639   1.1.1.5  jmmv   temporary files before exiting the program.
    640   1.1.1.5  jmmv 
    641   1.1.1.5  jmmv * Multiple bug fixes and improvements all around.
    642   1.1.1.5  jmmv 
    643   1.1.1.5  jmmv 
    644   1.1.1.5  jmmv Changes in version 0.1
    645   1.1.1.5  jmmv **********************
    646   1.1.1.5  jmmv 
    647   1.1.1.5  jmmv Experimental version released on August 20th, 2007.
    648   1.1.1.5  jmmv 
    649   1.1.1.5  jmmv * First public version.  This was released coinciding with the end of the
    650   1.1.1.5  jmmv   Google Summer of Code 2007 program.
    651   1.1.1.5  jmmv 
    652   1.1.1.5  jmmv 
    653   1.1.1.5  jmmv ===========================================================================
    654   1.1.1.5  jmmv vim: filetype=text:textwidth=75:expandtab:shiftwidth=2:softtabstop=2
    655