2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-30 20:32:10 +00:00
Commit Graph

411 Commits

Author SHA1 Message Date
K. Noel Belcourt
97a520e4a4 Change macro logic to get <stdarg.h> included on
SunOS.



[SVN r41625]
2007-12-03 02:04:30 +00:00
Dave Abrahams
902871ae96 Fixed grammar in error message
[SVN r41526]
2007-12-01 05:07:13 +00:00
Gennadiy Rozental
0301bd17b7 switch to nasic_cstring.hpp instead of fwd header
added failed expression to the system error
system_error is caught and reported in cpp_main.ipp
64 bit compatibility issue in debug.ipp fixed
missing headers in algorithm.hpp added

[SVN r41343]
2007-11-24 19:49:24 +00:00
Gennadiy Rozental
e1a1fefed2 comments cleanup
[SVN r41312]
2007-11-22 22:06:59 +00:00
Gennadiy Rozental
377a114bd7 issue with class base test cases addressed
[SVN r41310]
2007-11-22 21:57:16 +00:00
Joaquín M López Muñoz
e0a878a4ab added missing include
[SVN r41078]
2007-11-14 07:09:29 +00:00
Joaquín M López Muñoz
084e9d694e reapplied change at rev 40284
[SVN r40877]
2007-11-07 08:45:27 +00:00
John Maddock
f401923b3a Need stdarg.h to use vsnprintf as well as stdio.h
[SVN r40725]
2007-11-03 17:05:11 +00:00
John Maddock
a6cdd303d4 Added one more needed #include (stdlib.h for mkstemp).
[SVN r40688]
2007-11-02 17:40:10 +00:00
John Maddock
6a87669766 Added <stdio.h> and <sys/time.h> to the list of Unix-specific includes: these are needed by Sun's compiler, and for that matter, by Boost.Test to be std conforming.
[SVN r40639]
2007-11-01 14:01:44 +00:00
Gennadiy Rozental
1fc89b9e36 disable on CE
[SVN r40634]
2007-11-01 02:46:57 +00:00
Douglas Gregor
847e7b8618 sigemptyset is a macro on Darwin, so don't precede it by ::
[SVN r40551]
2007-10-29 14:43:19 +00:00
Gennadiy Rozental
b7aed40c86 made it to compile if unicode is defined
avoid assertion for negative chars

[SVN r40471]
2007-10-26 06:47:29 +00:00
Gennadiy Rozental
453b0229b7 missed debug in another included component
[SVN r40457]
2007-10-25 07:29:07 +00:00
Gennadiy Rozental
df15073c74 missing file included
[SVN r40455]
2007-10-25 06:35:14 +00:00
Gennadiy Rozental
8bb49d96d3 minor cleanup
final major piece of this update: debug services (almost complete: without stack dump)

[SVN r40451]
2007-10-25 05:38:19 +00:00
Gennadiy Rozental
e317de8bb5 missed sunpro workaround
[SVN r40449]
2007-10-25 00:17:25 +00:00
Gennadiy Rozental
957dcdd3ff avoid msvc 8.0 warning
more win CE workaround

[SVN r40447]
2007-10-25 00:01:38 +00:00
Gennadiy Rozental
fb6230f03a win CE and solaris workarounds
[SVN r40396]
2007-10-24 04:48:16 +00:00
Douglas Gregor
747cda18ef Fix SIGPOLL and sigemptyset handling on Darwin
[SVN r40365]
2007-10-23 18:16:57 +00:00
Gennadiy Rozental
0364cebbd1 streamlined handling of SIGPOLL
[SVN r40322]
2007-10-23 03:44:01 +00:00
Joaquín M López Muñoz
645afd4125 extended MSVC 6.5 fix to Intel
[SVN r40284]
2007-10-22 14:50:08 +00:00
Gennadiy Rozental
c7fb84d5d8 framework::is_initialized introduced to catch framework misuse errors
Message report too few failed assertions updated
New message added to report no assertion occurred in a test case 
test_suite::remove interface is added to allow remove test units from the test suite if necessary

[SVN r40276]
2007-10-22 06:36:50 +00:00
Gennadiy Rozental
4997d95b72 added missing export for framework::get
added line number to the name of the TU registrar, allowing to restart test suites within same module
test_suite::size() implemented to provide an access to the suite size

[SVN r40273]
2007-10-22 04:02:53 +00:00
Gennadiy Rozental
091e85e0c2 Missing header in exception_safety.hpp
Run by name support
new tools BOOST_CHECK_NE, BOOST_CHECK_LE, BOOST_CHECK_LT, BOOST_CHECK_GE, BOOST_CHECK_GT implemented

[SVN r40270]
2007-10-21 20:53:56 +00:00
Gennadiy Rozental
d567241fe7 intel port
[SVN r40204]
2007-10-20 06:59:27 +00:00
Gennadiy Rozental
2bf1f4a724 borland port
[SVN r40203]
2007-10-20 05:38:57 +00:00
Gennadiy Rozental
58992b04a9 msvc 6.5 port fix
[SVN r40172]
2007-10-19 02:17:52 +00:00
Gennadiy Rozental
a20efe579a FP exceptions made optional and disabled by default
new CLA --detect_fp_exceptions=[yes|no] introduced

[SVN r40165]
2007-10-18 21:43:35 +00:00
Gennadiy Rozental
9786c1a3d2 fixed issue with num of exp failure calculation
mwerks port in execution_monitor.ipp
bug in init function invocation fixed

[SVN r40148]
2007-10-18 07:14:56 +00:00
Gennadiy Rozental
c35d861c42 try run
[SVN r40147]
2007-10-18 07:13:43 +00:00
John Maddock
02858771d2 Change #warning to #pragma message: #warning is a gcc-ism and the code in question is msvc-specific (Tested on all msvc variants, plus gcc-minw32).
[SVN r40110]
2007-10-17 09:19:35 +00:00
Eric Niebler
0f09ca59de revert more boost.test changes
[SVN r40100]
2007-10-16 22:13:11 +00:00
Eric Niebler
09836395d1 reverted to r40064
[SVN r40094]
2007-10-16 19:07:12 +00:00
Gennadiy Rozental
5b7e052b62 cygwin issue fix
[SVN r40090]
2007-10-16 17:11:00 +00:00
Gennadiy Rozental
8d94bd0085 Major rework of execution monitor functionality:
update to the error reporting on both NT and *nix
support for signal handling on alternative stack
execution monitor parameter made public properties
structured exception handling moved to double __try approach with custom SE filter
support for floating point errors enhanced on NT based compilers
Notion of system_error is introduced (to be replaced potentially with boost::system later on)
Invalid parameter error detected by MSVC runtime properly reported
report_error implemented using vsnprintf allowing better output

[SVN r40078]
2007-10-16 07:18:10 +00:00
Gennadiy Rozental
23684bd94a temporary disable debug related features - to be reverted soon
[SVN r40077]
2007-10-16 07:07:43 +00:00
Gennadiy Rozental
f01485c5c2 fix A bug in auto TC exp failure support
[SVN r40076]
2007-10-16 07:06:10 +00:00
Gennadiy Rozental
85b1668255 unified test runner interface for both original and alternative init API, the same time streamlining error handling for all the cases
new property p_enabled is added to  the test unit in preparation for the run by name

[SVN r40069]
2007-10-16 03:51:54 +00:00
Gennadiy Rozental
f3ab0408b8 use io_saver directly
[SVN r40068]
2007-10-16 03:47:24 +00:00
Gennadiy Rozental
666483ec07 proper report for the exceptions in inti_unit_test_suite function
[SVN r40067]
2007-10-16 02:03:16 +00:00
Gennadiy Rozental
2df1e629c8 msvc 6.5 port
[SVN r40066]
2007-10-16 02:02:16 +00:00
Gennadiy Rozental
178f91b539 avoid warnings
[SVN r40065]
2007-10-16 02:01:39 +00:00
Gennadiy Rozental
6cf049cb29 Support for expected failures in test cases with automated registration reworked completely. It now allows to be used within auto-test-stuites.
framework API changed to return non const references to the test units to allow post creation modifications
unit_test_suite.hpp dependency on framework.hpp removed
inlined version includes all necessary files now
in test_tools.hpp BOOST_TEST_DECL is added/removed where necessary
Test suite auto registration modified to allow c++ namespace like behavior 

[SVN r40035]
2007-10-14 21:14:29 +00:00
Gennadiy Rozental
f0bcb32d13 Log level enum value renamed
[SVN r40033]
2007-10-14 19:39:33 +00:00
Gennadiy Rozental
9c81e47110 typo in a comment
[SVN r40032]
2007-10-14 19:29:59 +00:00
Gennadiy Rozental
cd8a6e2d23 Test module initialization error message is redirected into result reporter stream
[SVN r40031]
2007-10-14 19:28:46 +00:00
Gennadiy Rozental
2fb2f0edb8 avoid start/finish messages if log is disabled completely
[SVN r40030]
2007-10-14 19:27:32 +00:00
Gennadiy Rozental
05ba27b214 bug in output_test_stream constructor error generation fixed
[SVN r40029]
2007-10-14 19:26:23 +00:00
Gennadiy Rozental
b5ebeab7bc max macro guard
[SVN r40028]
2007-10-14 19:25:18 +00:00