2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-27 19:32:11 +00:00
Commit Graph

985 Commits

Author SHA1 Message Date
Raffi Enficiaud
2ea9ffd7f1 dataset test case have their own unique name
Fixes 11845
Each data test case is not creating a test suite with the name provided by the BOOST_DATA_TEST_CASE directive. Inside that test suite, all samples are added with names _0, _1 ...

- Fix counter after copy/move
2016-08-18 01:44:40 +02:00
Gennadiy Rozental
2a05a5e785 Generate unique test cases name for data test cases series 2016-07-12 21:02:46 +02:00
Raffi Enficiaud
e8521499fd Merge branch 'topic/trac-12103-gcc-bug-for-getchar' into next-internal
* topic/trac-12103-gcc-bug-for-getchar:
  Changelog
  Fix for uClibc and gcc <= 4.8.2

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-05-27 10:34:54 +02:00
Raffi Enficiaud
84ea93dbc6 Merge branch 'topic/trac-12024-nonexisting-__cxa_demangle-android' into next-internal
* topic/trac-12024-nonexisting-__cxa_demangle-android:
  Changelog
  Use boost/core/demangle instead of a direct GNU API use

# Conflicts:
#	doc/closing_chapters/change_log.qbk
#	include/boost/test/impl/execution_monitor.ipp
2016-05-27 10:33:27 +02:00
Raffi Enficiaud
31bebaf066 Merge branch 'topic/trac-11128-bb10-qnx-failures' into next-internal
* topic/trac-11128-bb10-qnx-failures:
  Changelog
  Add missing using for QNX

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-05-27 10:29:51 +02:00
Raffi Enficiaud
7221208094 Merge branch 'topic/PR99-fix-crashes-with-RTTI-off-on-MSVC' into next-internal
* topic/PR99-fix-crashes-with-RTTI-off-on-MSVC:
  Changelog
  Fix crashes with RTTI-off on MSVC

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-05-27 10:28:57 +02:00
Raffi Enficiaud
b7492a43cd Added documentation and change log 2016-05-27 09:55:28 +02:00
Jörg Böhme
933a71e37b Add missing using for QNX 2016-05-24 00:35:38 +02:00
wwinder
de5b4681dc Added 'BOOST_TEST_DISABLE_ALT_STACK' flag to use with ESXi build. 2016-05-24 00:13:03 +02:00
Marcel Raad
3348571908 Fix crashes with RTTI-off on MSVC
When RTTI is off on MSVC, BOOST_NO_TYPEID is not defined,
but only static typeid works. Dynamic typeid crashes at runtime.
2016-05-24 00:08:30 +02:00
Raffi Enficiaud
539b27a6aa Use boost/core/demangle instead of a direct GNU API use 2016-05-24 00:05:04 +02:00
Jörg Krause
1067fbe669 Fix for uClibc and gcc <= 4.8.2
getchar() is defined as a macro in uClibc. This hits gcc bug 58952 [1] for all
gcc version <= 4.8.2 and building boost/test fails:

./boost/test/impl/unit_test_main.ipp: In function 'int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)':
./boost/test/impl/unit_test_main.ipp:194:18: error: expected unqualified-id before '(' token

To allow building boost/test with uClibc based toolchains with gcc <= 4.8.2 use
parenthesis for std::getchar.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952
2016-05-23 23:38:14 +02:00
Raffi Enficiaud
01dcf29337 Comment on the fix for maintenance 2016-03-27 21:01:22 +02:00
jzmaddock
c94ef6982e Fix for clang on windows
When I try to build with clang on windows (4.2.1 Compatible Clang 3.9.0 (trunk), on top of VC14) I get an error complaining that accessing "this" within an __except block is unimplemented.  This patch just stores the value in a local variable to make it available with the __finally clause.

Allows Boost.Test to be built with clang on windows, in VC compatibility mode.
2016-03-27 19:27:26 +01:00
Raffi Enficiaud
2c9fc467f0 MSVC12 fix: replacing broken std::is_copy_constructible by boost::is_copy_constructible 2016-03-20 19:27:46 +01:00
Raffi Enficiaud
c93edd16bc Fixing xvalue forwarding for grid and zip (sample merge operations)
- uses tuple_cat and decltype internally
- works as before in case of internal references
- constructs holder objects in terms of moveable only types: should improve the sharability of the holders in case of an object used multiple times
2016-03-19 08:34:32 +01:00
Raffi Enficiaud
97883a5d80 Merge branch 'topic/trac-11983-xml-escape-in-report' into develop 2016-02-20 11:00:50 +01:00
Raffi Enficiaud
bfaf02fa28 Merge branch 'topic/BOOST_DATA_TEST_CASE_F' into develop
Conflicts:
	doc/closing_chapters/change_log.qbk
2016-02-20 11:00:36 +01:00
Raffi Enficiaud
a7f2676dbf Fixing the escaping test unit names in the XML report
+ unit tests
2016-02-17 01:16:31 +01:00
Raffi Enficiaud
118c60643c Using a stronger random seed in case of seed=1 (time seed)
The time resolution is in seconds, which yields some issues in case two consecutive tests are ran fast one after the other.
2016-02-02 09:30:32 +01:00
Raffi Enficiaud
f99bcf95fb Ranked children should be initialized for consecutive run of the same test tree 2016-02-02 09:30:32 +01:00
Raffi Enficiaud
293f1520e4 Addressing random number generation issue 2016-02-02 09:30:32 +01:00
Gennadiy Rozental
261e376ed8 Introduce data test case with Fixtures 2016-02-01 22:41:36 -05:00
Raffi Enficiaud
618933d1e8 Merge branch 'topic/data-variadic-template' into develop
* topic/data-variadic-template:
  change log update
  Documentation on how to control the arity
  fixup test cases
  Making it truly variadic
  Fixing the arity problem of the dataset test cases
  new headers
  initial version

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-01-24 22:14:14 +01:00
Raffi Enficiaud
ac0f59f78d Merge branch 'topic/assert-printability' into develop
* topic/assert-printability:
  Static assert type support for operator<< to produce shorter error messages
2016-01-24 22:12:52 +01:00
Raffi Enficiaud
c65fdc5e55 Merge branch 'topic/trac-08905-ignores-return-value-from-WaitForSingleObject' into develop
* topic/trac-08905-ignores-return-value-from-WaitForSingleObject:
  Updating the changelog
  Closing the handles and the hkeys properly and testing the start of the debugger

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2016-01-24 22:12:21 +01:00
Raffi Enficiaud
8ed17b554d Making it truly variadic 2016-01-24 01:01:03 +01:00
Raffi Enficiaud
673c7aeb39 Fixing the arity problem of the dataset test cases 2016-01-24 01:01:03 +01:00
Gennadiy Rozental
8af0d71014 new headers 2016-01-24 01:01:03 +01:00
Gennadiy Rozental
42de00192e initial version 2016-01-24 01:01:03 +01:00
Raffi Enficiaud
a0cfbd0a2a Closing the handles and the hkeys properly and testing the start of the debugger 2016-01-21 13:19:04 +01:00
Gennadiy Rozental
ab083f9747 Static assert type support for operator<< to produce shorter error messages 2016-01-21 13:17:24 +01:00
Gennadiy Rozental
fd11b12dd6 Avoid two statements in tool evaluation 2016-01-21 13:14:55 +01:00
Raffi Enficiaud
37a1280bfd Merge branch 'topic/PR92-cosmetic-suppress-unused-parameter-warnings' into develop
* topic/PR92-cosmetic-suppress-unused-parameter-warnings:
  Suppress 'unused parameter' warnings.
2016-01-21 10:49:38 +01:00
Gennadiy Rozental
5a57a26a12 Merge pull request #91 from bebuch/develop
prevent unused warnings
2016-01-19 14:20:45 -05:00
Adam Wulkiewicz
81a1ec736b Suppress 'unused parameter' warnings. 2016-01-14 15:43:05 +01:00
Raffi Enficiaud
dfa71b3c89 Merge branch 'topic/6767-fenv-names-macros' into develop
* topic/6767-fenv-names-macros:
  Do not qualify <fenv.h> names that might be macros.
2015-12-22 07:44:14 +01:00
Raffi Enficiaud
a6c3f7bb1d fix init lists for C++0x/gcc4.4 2015-12-05 22:43:13 +01:00
Jonathan Wakely
f50e7bc9fe Do not qualify <fenv.h> names that might be macros. 2015-11-22 16:51:03 +01:00
Raffi Enficiaud
0022d3c7f3 fixup! MSVC-9/C++03 cannot have references for std::pair 2015-11-10 09:12:04 +01:00
Benjamin Buch
6a35bb5944 prevent unused warnings 2015-11-03 20:37:21 +01:00
Raffi Enficiaud
1407440fd6 Adding unit-test support for MSVC-11 (2012) and tests requirements
- Adding constraints on test files (compiler capabilities)
- Fixing boost.config issues with MSVC 11
2015-11-03 01:54:40 +01:00
Raffi Enficiaud
6a4b5f9cd8 fixup! new CLA using template aliases not working on MSVC < 11 2015-11-03 01:54:40 +01:00
Raffi Enficiaud
37d0f9bca3 Merge branch 'topic/fix-pragma-warnings-gcc' into develop
* topic/fix-pragma-warnings-gcc:
  silence a warning on old GCCs (< 4.6)
2015-10-27 17:03:56 +01:00
Raffi Enficiaud
c54743e06d Merge branch 'topic/new-cla-cleaned' into topic/doc-list-labels-content-update
* topic/new-cla-cleaned:
  Allow some foreign token in between boost.test arguemnts for backward compatibility
  Copyright updates
  Doc: change log update
  C++03 compatibility
  Doc: updates for new cla
  Parameters updates for new cla
  Cleanup: utils namespace
  New CLA cont.
  Named parameters refactoring + tests
  New CLA

Conflicts:
	doc/runtime_configuration/runtime_config_reference.qbk
2015-10-27 10:15:18 +01:00
Gennadiy Rozental
75eadeac9f Allow some foreign token in between boost.test arguemnts for backward compatibility 2015-10-27 03:25:10 -04:00
Raffi Enficiaud
6027d35372 silence a warning on old GCCs (< 4.6) 2015-10-20 21:00:26 +02:00
Gennadiy Rozental
d3d6c42dfe small bug with DOT output fixed 2015-10-20 15:00:42 +02:00
Raffi Enficiaud
d76f1599fb Better message in case of precondition failed 2015-10-20 15:00:42 +02:00
Gennadiy Rozental
e0d428f433 Copyright updates 2015-10-20 15:00:24 +02:00