Commit Graph

36 Commits

Author SHA1 Message Date
Lorenzo Caminiti
0a69e99916 using std::boolalpha instead of ints to print true and false (to try to fix issue that on some compilers true is printed as 1, but on other compilers is printed as 255) 2019-09-17 14:57:29 -07:00
James E. King III
dc61522241 Add 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.
2019-06-04 12:13:14 -04:00
Lorenzo Caminiti
6783b3f388 using 1 instead of true to check result of call_if using boost::bind (because on one compiler such result type is not deduced as bool, true was printed on the oteststream as 255 instead of 1, and a couple of tests failed at run-time) 2019-06-02 09:04:02 -07:00
Lorenzo Caminiti
96d936ee10 generalized test expected failures to handle both results from develop and master 2019-05-31 15:48:35 -07:00
Lorenzo Caminiti
11604d4efd fixed a couple of run-time errors for some call_if tests on some clang c++17 compilers 2019-05-31 10:22:10 -07:00
Lorenzo Caminiti
ebe44e53a7 fixed a few warnings and expected failures in tests 2019-05-30 21:30:38 -07:00
Lorenzo Caminiti
5a72a905dd fixed auto_..._error tests for c++17 and later 2019-01-14 07:29:25 -08:00
Lorenzo Caminiti
626eb5256b fixing a few more gcc/clang warnings 2019-01-13 14:35:14 -08:00
Lorenzo Caminiti
3ec0716830 disabled a few more msvc warnings 2019-01-13 14:18:36 -08:00
Lorenzo Caminiti
366d2eb6ec trying to fix auto_..._error tests to detect c++17 using boost.config macros (because msvc does not correctly set __cplusplus...) 2019-01-12 19:40:10 -08:00
Lorenzo Caminiti
22bc450de0 fixing markups of some expected failures in the test regression table 2019-01-11 15:37:52 -08:00
Lorenzo Caminiti
050a2a1e5a fixed a few warnings on most common compilers (msvc, gcc, clang) 2019-01-11 04:50:53 -08:00
Lorenzo Caminiti
3b62a2df3c fixed a bjam unescaped charcter warning (fixes github issue #11) 2019-01-06 07:48:18 -08:00
Lorenzo Caminiti
cb0491858d replaced std::uncaught_exception with boost::contract::detail::uncaught_exception because the std::... one will be removed in C++20 (githug issue #16). removed test/function/except_throw.cpp file that was unused (it was an old version of test/function/throwing_old.cpp that was left in the repository by mistake) 2019-01-06 06:50:11 -08:00
Lorenzo Caminiti
48badf30c8 fixed specify-auto_..._error tests that are no longer valid on C++17 or later compilers due to guaranteed copy elision (by forcing expected compiler error on C++17 and later compilers) 2019-01-06 05:40:51 -08:00
Lorenzo Caminiti
f607e7a53f added copyright to explicit failure markup files and fixed test to not fail even when msvc defines min max macros 2018-01-12 17:57:08 -08:00
Lorenzo Caminiti
53fefd355a fixed a couple of warnings 2017-12-24 01:26:50 -08:00
Lorenzo Caminiti
835e6a28e2 fixed ..._unit tests to not run on non-C++11 compliers 2017-12-18 08:35:08 -08:00
Lorenzo Caminiti
2414063d0f building all configurations 2017-12-18 07:28:12 -08:00
Lorenzo Caminiti
fa93f96046 updated copyright year 2017-12-10 16:31:15 -08:00
Lorenzo Caminiti
9fb0d9409a fixed odr errors when compiling header-only in multiple compilation units 2017-12-10 16:13:31 -08:00
Lorenzo Caminiti
d69ce42a32 finished to proof read docs and updated reference section. added initial tests for odr in multiple compilation units (need to rework those). 2017-12-08 20:14:02 -08:00
Lorenzo Caminiti
87302093e6 marked a few more expected failures. added a missing c++11 requiremens for a test that uses contract_macro (i.e., variadic macros) 2017-11-11 20:19:13 -08:00
Lorenzo Caminiti
11fd99f21c marked a few more expected failures. reverted rethrow_exception workaround for FreeBSD because it only worked for destructor tests anyway... 2017-11-06 21:20:05 -08:00
Lorenzo Caminiti
727bb2fa26 attempted to workaround libxxrt bug on freebsd for std::unchaught_exception on re-trhow (not sure if this will work... need to check on boost.contract/develop regression tests...) 2017-11-05 09:25:51 -08:00
Lorenzo Caminiti
313770e25c trying to remove c++11 lambdas expected failure markups because changed jamfile to skip specific tests on compilers that do not support lambdas 2017-10-31 21:37:20 -07:00
Lorenzo Caminiti
5d4f1b5f30 added bjam config requirements on c++11 lambdas, etc. also added a few more expected failures markups 2017-10-30 20:26:41 -07:00
Lorenzo Caminiti
8eafe72cda trying to workaround a few more bugs in msvc10 lambdas. also marked a few more expected failures on sfinae not working for private and protected members on older gcc. 2017-10-12 23:33:23 -07:00
Lorenzo Caminiti
3f1214f85f updated expected regression failures. made struct err a global type in all tests to workaround msvc10 bug for which local structs are not visible within lambdas. 2017-10-09 20:05:24 -07:00
Lorenzo Caminiti
fb7acedc1d possible fix for local struct err not recognized in lambda on msvc 10 2017-09-27 22:01:25 -07:00
Lorenzo Caminiti
91d4a96f1f fixed extra parenthesis needed for BOOST_STATIC_ASSERT_MSG on some compilers. deleted move ctor and op to see if it fixes tests that expect auto c = ... to fail because contract::check type is not explicitly specified. 2017-09-26 22:58:10 -07:00
Lorenzo Caminiti
77e6f57cbb replaced boost_contract_link with boost link and boost_contract_header_only. renamed documetation target from doc to boostdoc (boost convention). using BOOST_ASERT instead of c-style assert (boost guideline). 2017-09-24 20:11:50 -07:00
Lorenzo Caminiti
cce118dda2 using .md for README. updated jamfile to integrate with boost jamroot 2017-09-24 13:48:45 -07:00
Lorenzo Caminiti
a748c6142e copied all release/0_5_0 to master 2017-09-04 17:43:14 -07:00
Lorenzo Caminiti
e6708c15ff prep for tagging release 0.4.0 2017-09-04 17:13:57 -07:00
Lorenzo Caminiti
9047cb56a0 added all files for release 0.3.490 2017-08-28 20:42:58 -07:00