Commit Graph

30 Commits

Author SHA1 Message Date
James E. King III
dc723ad8bc Added CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
  - appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
  - README, LICENSE, etc.
2018-05-19 01:12:18 +00:00
Nikita Kniazev
12e5fadc31 Do not use test rules to check for valgrind
Passing a test rule to `check-target-builds` affects `--dump-tests` output,
some tests disappears what causes the missing tests in regression matrix.

This was discovered at modularizing Spirit tests (tests under `build-project`
dirs runs, but do not appear in `--dump-tests` output)
2017-11-26 23:18:22 +03:00
Peter Dimov
397536bb4b Make tests work again. 2015-01-15 18:54:22 +02:00
Marcel Raad
fa3005209c Fix tests for MSVC
warnings-as-errors caused the simple_seg_storage and threading tests to fail on all Visual C++ compilers. This define suppresses the warnings about unchecked iterators, which I don't think are solvable in a portable way.
2014-07-03 19:07:19 +02:00
BenPope
e4852e2294 Add dependency on boost_system 2014-04-02 00:25:14 +08:00
Steven Watanabe
5c15843ca9 Name the valgrind test so it doesn't overflow the output field width.
[SVN r83784]
2013-04-06 22:27:57 +00:00
John Maddock
892481b63d Turn on threading support for threaded test!
Disable warning-as-errors for Intel compiler (it's too strict for Intel-10).
Make test allocators std-conforming.

[SVN r73302]
2011-07-22 17:38:38 +00:00
John Maddock
f08364c169 Fix C++0x failure.
Try and suppress pathscale failure.

[SVN r73241]
2011-07-19 11:52:11 +00:00
John Maddock
9ec4a0b5e1 Merge updated Boost.Pool from sandbox.
[SVN r73210]
2011-07-18 10:23:42 +00:00
John Maddock
6ac72d21de Fix some more compiler warnings.
Add threading stress test.

[SVN r73193]
2011-07-17 17:56:58 +00:00
John Maddock
1cb917c9a7 Update docs to latest AutoIndex version.
Fix -Wshadow warnings and update Jamfile to make them errors.
Fix singleton_pool to correctly propagate the MaxSize parameter.
Refs #5700.
Refs #5568.

[SVN r73148]
2011-07-16 14:50:06 +00:00
John Maddock
c7b0d00943 Add some debugging code.
Add tentative Valgrind support.
Change singleton usage to address issue 5526 by making singletons eternal.
Add Valgrind tests.
Update docs to match.
Refs #5526.

[SVN r73121]
2011-07-15 17:40:49 +00:00
John Maddock
48398032be Change mutex to use Boost version.
Add example to test Jamfile.

[SVN r71204]
2011-04-12 16:15:14 +00:00
John Maddock
da804b6c96 Add test for malloc/free macros.
[SVN r69528]
2011-03-03 18:49:54 +00:00
John Maddock
c1dd8eaadf Fix typo in test/test_bug_4960.cpp
Add valgrind tests only if available.

[SVN r69445]
2011-03-01 18:11:23 +00:00
John Maddock
6db4e1896a Some further more advanced fixes for issue #2696:
Applies existing fix to array allocation,
Adds a test case,
Adds a fallback mechanism, so that if allocation fails we shrink the next chunk size.
Refs #2696.


[SVN r69236]
2011-02-24 12:19:47 +00:00
John Maddock
c519bdec56 Add test case for issue #1252.
Refs #1252.

[SVN r68922]
2011-02-15 19:03:00 +00:00
John Maddock
d6702122e0 Add test case for bug #4960.
Add conditional instrumentation code to headers so we can see what's being allocated when.
Fix issue #4960 by allowing pool to allocate 0 chunks.
Refs #4960.

[SVN r68920]
2011-02-15 18:39:07 +00:00
John Maddock
9a752f0876 Oops, committed wrong Jamfile version, fixed now.
[SVN r68868]
2011-02-14 18:26:42 +00:00
John Maddock
e5ceadf03d Enable highest warning levels in compiles, and fix resulting errors.
[SVN r68867]
2011-02-14 18:04:20 +00:00
Katie Chan
8c5bd739d4 Change from simple use of std::rand() to use Boost.Random and specify a reasonable range so we don't run out of memory. Other general tidy up.
[SVN r67747]
2011-01-07 05:21:51 +00:00
Katie Chan
3e1baa4a24 Fixes bug #3349. Add temporary test for bug.
[SVN r67676]
2011-01-05 09:00:14 +00:00
Katie Chan
ec838ef75e Add test for simple_segregated_storage.
[SVN r67673]
2011-01-05 07:51:32 +00:00
Katie Chan
cf75eeb25e Shorten test file name to conform to Boost Library Requirements and Guidelines
[SVN r67671]
2011-01-05 07:35:21 +00:00
Katie Chan
82096915d4 Test for GCD & LCM functions. Though should probably refactor code to use Boost.Math (which was branched out from Boost.Pool itself & Boost.Rational) instead.
[SVN r67653]
2011-01-04 17:46:12 +00:00
Katie Chan
b03190f897 Add test for bug #4346.
[SVN r67591]
2011-01-02 20:26:28 +00:00
Steven Watanabe
4f207d5041 Simplify the Jamfile
[SVN r67557]
2011-01-02 00:03:42 +00:00
John Maddock
bd2ed68e30 Initial commit of Boost.Pool copy
[SVN r67513]
2010-12-31 10:10:24 +00:00
Jurko Gospodnetić
7f87d3e79b Added a workaround for a compilation failure when including some Boost Serialization headers before some Boost Pool headers using MSVC 7.1 or 8.0. Source of the problem is a compiler bug fixed in MSVC 9.0 and workaround consists of referencing some Windows API identifiers using their fully qualified names. Added a related regression test for the Boost Pool library. See the test code comments for more detailed information on the bug.
[SVN r44480]
2008-04-17 00:20:33 +00:00
Rene Rivera
7de7330fdc Move pool tests into canonical test subdir structure.
[SVN r44380]
2008-04-13 22:37:56 +00:00