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