resetting manifest requested domain to floor
[platform/upstream/check.git] / NEWS
1 Tue, Sep 22, 2009: Released Check 0.9.8
2   based on r559 (2009-09-23 21:00).
3
4 * Fix CHECK_MICRO_VERSION, left at 6 in 0.9.7 by mistake.
5
6 Tue, Sep 22, 2009: Released Check 0.9.7
7   based on r552 (2009-09-22 09:26).
8
9 * Added CK_SUBUNIT support for outputting test information in the subunit wire
10   protocol. See the check manual for more information. (Contributed by Robert
11   Collins).
12
13 * Added code and tests for timeout scaling via environment variable.
14   Feature requested in tracker item #1549835 on sourceforge.
15
16 * Added documentation for testing exit values with tcase_add_exit_test().
17
18 * Add make_macros perl script from somebody (who?)
19
20 * add type to check_type error message
21
22 * add contrib dir with xslt transform
23
24 * function exist testing support (patch #1726574).
25
26 * introduce HAVE_WORKING_SETENV to protect tc_timeout_env usage
27
28 * support running tests with multiple pthreads (Daniel Gollub, closes 1391527)
29
30 * partial MSYS/MinGW support
31
32 Mon, Dec 29, 2008: Released Check 0.9.6
33   based on r453 (2008-12-01 22:14:15).
34
35 * 'make distcheck' does not work out of the box. Disable the two
36   top lines in doc/Makefile.am and it shall pass. Will have to
37   be fixed later.
38
39 * add call to AC_REPLACE_FUNCS([strsignal])
40 * add new rpl_strsignal following rpl_(re)malloc template, body
41   of function due to Roland Illig
42   -- hopefully closes 1629755
43
44 * add missing NULL argument to fail* varargs macro calls
45 * define incorrect tests for __GNUC__ only
46    -- both per Roland Illig in bug 1677391
47
48 * define CK_ATTRIBUTE_UNUSED for GCC >= 2.95, closing:
49   [ 1674626 ] compile error with non defined __attribute__ compiler
50
51 * Fixed error in documentation example Makefile.am, bug #1888237
52
53 * Fixed spelling (patch #1652630)
54
55 * Handle NULL in srunner_add_suite(). Fixes #1624887
56
57 * add CK_FORK_GETENV to enum fork_status and delete CK_FORK_UNSPECIFIED
58
59 * call strdup on result from strsignal to avoid clobbering it
60 * add Torok Edwin to AUTHORS
61
62 * add CK_TEST_RESULT_INVALID to enum test_result
63
64 * add CK_CTX_INVALID to ck_result_ctx and don't use -1 anymore
65
66 * count checks in setup() as well; patch due to Roland Stigge
67
68 * use int __attribute__((unused)) _i instead of
69       int _i __attribute__((unused))
70   per gcc-3.3.5 request from Sebastian Trahm
71
72 * rename signal to _signal in _tcase_add_test to avoid a
73   symbol clash with /usr/include/sys/signal.h on OS X.
74
75 * define rpl_malloc and rpl_realloc for platforms where
76   !malloc(0) and !realloc(0,0), such as AIX, because configure
77   goes and redefines malloc/realloc in this case...
78
79 * SVNChangeLog patch from Robert Collins
80
81 * Incorporated patch from Debian for debian bug #395466. This fixes
82    'AM_PATH_CHECK causes "possibly undefined macro" errors'.
83
84 * Added new Check fail API. Implemented on top of fail_unless. Future
85   versions will reverse this so fail_unless is implemented on top of the
86   ck_assert API. This API is not documented yet, will probably not be fully
87   released until 0.9.8, when it will be possible to choose API.
88
89 Tue, Nov 21, 2006: Released Check 0.9.5
90
91 * Fixed code coverage support to work with gcc4 and buggy libtool.
92
93 * Changed loop test iteration variable from i to _i.  Added example of
94   loop test usage to documentation.
95
96 * Fixed distcheck target by adding SVNChangeLog to EXTRA_DIST.
97
98 * Fixed signal string problem in tests.  Strings differed between
99   OSes, now we use strsignal().  Fixes Sourceforge bug #1539828. 
100
101 * Fixed problem with process group ID, especially visible on Solaris
102   and LynxOS.  Fixes Sourceforge bugs #1407360 and #1539828.
103
104 Fri, Oct 13, 2006: Released Check 0.9.4
105
106 * Updated manual and converted from DocBook to Texinfo.
107
108 * Added pkg-config support.
109
110 * Added Libtool support to build both static and shared libraries.
111
112 * Removed debian/ and rpm/ directories for building packages.
113   Downstream maintainers can easily handle this.
114
115 * Updated GNU Build System to use modern Autotools.
116
117 * Fixed sourceforge bug #1327225, two teardown checked fixtures
118   segfaults.
119
120 * Added a new kind of test, looping tests, which are called with a new
121   context for each loop iteration. This makes them ideal for table
122   based tests. Previously, with the loop in the test itself, only the
123   first error was caught and then the test would exit. Now all errors
124   are shown at once which should help in debugging
125
126 * Added possibility to turn off timeout tests in check's own unit tests
127   through configure option --disable-timeout-tests.
128
129 * Added coverage analysis for check's own unit tests.
130
131 Thu, Aug 25, 2005: Released Check 0.9.3
132
133 Applied debian patches from debian maintainer.
134
135 Fixed documentation bug #1216502.
136
137 gcc 2.95.3 compatibility fixed (patch #1161654, bug #1211672).
138
139 Messaging refactored to make it  work with forking tests, and also with
140 threading tests on linux 2.4. Added check_fork and check_waitpid_and_exit
141 to be used for forking tests. (bug # 1233585)
142
143 Timeout error message changed (feature request #1121452, bug #1160305).
144
145 Fix check.spec for fc3 x86_64 (patch #1111782)
146
147
148 Fri, Nov 12, 2004: Released Check 0.9.2
149
150 Use strsignal to print describing text for signals.
151 Documented signals handling and timeouts.
152 Changed failure message for fail_if.
153 Added support for timeouts on tests, enabling detection of eternal loops.
154 Changed name on function list_create to check_list_create to avoid name clash.
155 Applied ANSI C99 patch (#1047014) for macro var args.
156 Cleaned up the self test verification to simplify merging of new tests.
157 Fixed debian and rpm targets
158
159 Added support for testing on expected signals. Implementation courtesy of
160 Lucas Di Pentima and Cesar Ballardini. 
161
162
163 Fri, Sep 3, 2004: Released Check 0.9.1
164
165 Updated tutorial with new features.
166 Added support for XML output of the test results, courtesy of Frederic Peters.
167 Fixed setup bug from forum, failure in setup did not abort test in nofork mode.
168 Applied varargs patch (#933411) and added test cases.
169 Applied fail_if (#709167) patch.
170 Applied 'newbies' patch #995028 for autoconf doc.
171 Applied doc patch #995028 from Bill Barnard.
172 Fixed portability problems tests by changing == to =.
173 Changed copyright according to bug report.
174 Applied patch 796705. Replacing _exit with exit.
175 Applied patch for bug 793671.
176
177
178 Mon, May 17, 2004: Released Check 0.9.0
179
180 Run fixture teardowns in reverse order to setup
181 Plugged some memory leaks.
182 Added test name to log outputs.
183 Applied patch (802160) for distcheck bug (579604).
184 Fixed log printouts for nofork mode.
185 Updated documentation and converted to DocBook.
186
187 Added a new print mode, CK_ENV, that gets the print mode from the
188 environment variable CK_VERBOSITY.
189
190 Made tcase_free and suite_free static. This may break existing test
191 programs. Everything is now freed when srunner_free is called.
192
193
194 Mon Oct 21, 2002: Released Check 0.8.4
195
196 Fixed pipe issues.
197 Allow to use check.h from C++.
198 Plugged some memory leaks.
199
200
201 Fri May 24, 2002: Released Check 0.8.3
202
203 Fixed various build problems. Fixed a problem with check.m4.
204 Documentation updates.
205
206
207 Mon Apr 15, 2002: Released Check 0.8.2
208
209 Added version information to headers and library. Added an autoconf
210 macro to easily integrate check into projects that use autoconf.
211
212 Removed limitations on line number, message and buffer sizes.
213
214 Declared constant string parameters as const.
215
216
217 Sat Mar 2, 2002: Released Check 0.8.1
218
219 Changed license to LGPL.
220
221 Fixed bug in running checked setup in nofork mode.
222
223
224 Wed Oct 24, 2001: Released Check 0.8.0
225
226 Support running in a nofork mode. Defined a checked fixture as well as
227 an unchecked fixture, support failing in checked and uncheck fixture
228 functions, and errors in checked fixture functions. Rewrote the
229 back-end to use pipes, rather than message queues.
230
231 Reimplemented printing functions in terms of string formatting
232 functions, to allow better testing of output without full end-to-end
233 testing.
234
235 Renamed some public constants to use the CK_ naming convention. This
236 will break existing test programs.
237
238 Documented the new features, and changed the distribution to include
239 sgml and html files, as well as lyx files, as many people don't have
240 lyx.
241
242
243 Thu Aug 23, 2001: Released Check 0.7.3
244
245 Fixed the Autoconf Lyx check in acinclude.m4 so that configure works
246 on Solaris systems (and hopefully others), and cleaned up a minor
247 problem in Debian packaging.
248
249
250 Fri Aug 17, 2001: Released Check 0.7.2
251
252 Automated RPM packaging, and included debian packaging. The makefiles
253 now has an rpm target (the RPMFLAGS variable can be set to add
254 additional flags to RPM). Debian packages are built the ordinary way
255 (dpkg-buildpackage).
256
257 Moved the example*.* files to tutorial*.*, since the docs really are
258 tutorials. Beefed up the tutorial docs to add clarity to the behavior
259 of fixture setup/teardown (based on a helpful critique by Fred Drake),
260 and to document the static nature of unit tests demanded by the bug
261 fix below.
262
263 Many bugfixes: added -Wall to the CCFLAGS for gcc, and fixed a mess of
264 warnings that resulted. Changed a bizarre naming mismatch in
265 tcase_set_fixture (masked by the lack of compile warnings), and made
266 unit tests static (both bugfixes suggested by Fred Drake). Also added
267 a more sophisticated test of Lyx to (hopefully) ensure that Lyx
268 supports linuxdoc (but it's not clear to me how to test that for
269 sure).
270
271
272 Wed Jul 30, 2001: Released Check 0.7.1
273
274 Reorganized printing and logging functions to allow for a less
275 primitive logging function. Logging is now documented in the tutorial
276 documentation.
277
278
279 Wed Jul 11, 2001: Released Check 0.7.0
280
281 Included a primitive logging function (at the moment, it only prints a
282 copy of the CRVERBOSE output to the log file), added the ability for
283 an SRunner to run multiple suites (and reorganized the Check tests to
284 take advantage of that), and added the magic to allow Check to be used
285 with C++.
286
287 Also added Doxygen markup to the header file, but I'm not terribly
288 satisfied withe clarity of the output. I may switch to CWEB... Next
289 release should include API docs and improved logging, if nothing else
290 comes up...
291
292
293 Wed Jun 27, 2001: Released Check 0.6.1
294
295 Bug fix for srunner_failures (bad version actually returned all
296 results), added srunner_results to do what srunner_failures used to
297 do, and added corrected unit tests for both.
298
299 Also changed the API for reporting the number of failed tests from
300 srunner_nfailed to srunner_ntests_failed, to harmonized better with
301 new function srunner_ntests_run. This unfortunately may break some
302 unit tests slightly -- that's why the major release number is 0 :-)
303
304
305 Thu Jun 21, 2001: Released Check 0.6.0
306
307 Features improved unit test reporting options, more complete unit
308 tests, and end-to-end test, and a full API into TestResults
309
310
311 Check 0.5.2
312 Minor edits
313 Check 0.5.1
314 GPL compliance release
315 Check 0.5.0
316 Initial public release