Commit Graph

125 Commits

Author SHA1 Message Date
Shane Grant
6c7c93edfa Doctest support for g++4.7 2019-10-23 22:06:18 -07:00
Shane Grant
6ccd33fe37 Noexcept workaround for doctest for MSVC 2019-10-23 22:06:18 -07:00
Shane Grant
33224f4660 MSVC support for doctest, boost variant serialization 2019-10-23 22:06:18 -07:00
Shane Grant
946b568bf7 Update doctest to 2.3.5
Includes a replacement for [[noreturn]] and thread_local
2019-10-23 22:06:18 -07:00
Vol-Alex
36ab0c1f89 Add possibility to serialize of boost::variant with non default constructible types. 2019-10-19 22:20:14 -07:00
Shane Grant
d16feb9de8 Appveyor updates + boost testing fixes
-Fixes appveyor CI and adds additional MSVC versions
-Puts boost variant test building behind boost requirement
2019-05-08 19:51:29 -07:00
Shane Grant
487c3375e1 Fix unit test structure, CPP17 check, relates #478, #448 2018-03-17 15:43:38 -07:00
Shane Grant
e9551c9942 Merge branch 'cpp17_tests' into develop
see #448
2017-12-15 14:08:49 -08:00
Shane Grant
f094ba78ec fix optional testing, properly name coveragee for cpp17
relates #448
2017-12-15 13:35:43 -08:00
Shane Grant
0d96673536 more const for poly 2017-11-20 14:22:24 -08:00
Shane Grant
322fb95a5d Adding const to poly tests 2017-11-20 14:17:57 -08:00
Shane Grant
0d3edb8c29 Progress towards load and construct for const types, see #417 2017-11-20 13:59:55 -08:00
Shane Grant
65adc87c7c Merge branch 'develop' of https://github.com/WSoptics/cereal into WSoptics-develop 2017-11-19 21:57:05 -08:00
Shane Grant
59621d6023 Working towards cpp17 tests
Progress towards #448

Lots of warnings from g++7.2, these are addressed in #423 which hasn't been merged yet.
CMAKE can be cleaned up a bit - may put back in the ability to use older cmake and just throw errors as necessary,
otherwise just force people to use at least cmake 3.1
2017-11-05 19:07:31 -08:00
Juan Pedro Bolívar Puente
0cef0b7073 Add serialization support for std::variant
For its unit tests to run, pass -DCMAKE_CXX_STANDARD=17 to cmake.
2017-10-27 14:17:59 +02:00
Shane Grant
84a6c4b063 Simplify structs for atomic test
-Should hopefully fix atomic size issue for some compilers
-May still need to be more explicit in CTOR for windows, pending appveyor results
relates #277
2017-09-13 13:46:21 -07:00
Shane Grant
05c0cb0521 forgot to add this! 2017-09-12 14:55:29 -07:00
Shane Grant
c37d44fd7e Merge branch 'develop' of github.com:USCiLab/cereal into develop 2017-09-12 14:49:32 -07:00
Shane Grant
9323fc0af7 modify atomic tests for doctest, clean up serialization code 2017-09-12 14:48:28 -07:00
Shane Grant
bcd69859c0 Merge branch 'atomic' of https://github.com/bluescarni/cereal into bluescarni-atomic 2017-09-08 11:57:04 -07:00
Shane Grant
a4edd60629 make msvc12 happy 2017-08-27 21:53:59 -07:00
Shane Grant
7c65494566 make travis use gcc 2017-08-24 19:56:42 -07:00
Shane Grant
123eeb55d6 initial deferment implementation
relates #185
2017-08-24 19:44:37 -07:00
Christoph Weiss
ca5cd7eece add (non-compiling) unit tests for std::unique_ptr<const T> 2017-08-16 18:14:01 +02:00
Christoph Weiss
0481881be2 add unit tests for std::unique_ptr<T> 2017-08-16 18:13:41 +02:00
Christoph Weiss
673add1212 add unit tests for std::shared_ptr<const T> 2017-08-16 18:12:21 +02:00
Shane Grant
f031131130 modifications for g47 and comment out memory intensive testing 2017-05-03 11:38:35 -07:00
Shane Grant
546fd9b896 tinkering on #354 2017-02-19 16:25:32 -08:00
Shane Grant
8b8f5814e2 Fix macro for double comparison in unit test
relates #338
2017-02-15 13:39:42 -08:00
Shane Grant
ee17db59c8 Merge branch 'develop' of github.com:USCiLab/cereal into develop 2017-02-06 22:51:29 -08:00
Shane Grant
b827b955f9 Fixes need for special MSVC case, see #373 2017-02-06 22:50:56 -08:00
Shane Grant
f577fc4ce4 Turn on warnings as errors for MSVC, warning level to 3
Can't do level 4 warnings yet - need to make an upstream change to doctest
2017-02-05 22:13:08 -08:00
Shane Grant
fb6606dbb8 Do not build coverage or valgrind for MSVC 2017-02-05 18:13:37 -08:00
Tushar Maheshwari
e4d543d0b4 Fix merge issues 2017-01-26 16:53:47 +05:30
Tushar Maheshwari
df44243bad Enable cross-platform portability test
CMake fix 32-bit executable with generator Win64
2017-01-26 14:16:28 +05:30
Shane Grant
a8e99636f5 Merge branch 'develop_doctest' into develop
see #139
2017-01-25 10:56:38 -08:00
Shane Grant
d21b0c0ab6 Merge branch 'laudrup-master' into develop
see #363
2016-11-28 11:47:53 -08:00
Shane Grant
e63f08f4d7 minor adjustments to casts, see comments on #363 2016-11-28 11:47:24 -08:00
Kasper Laudrup
9376ca6055 Don't use C style casts
Change C style casts to C++ static casts.

This makes the code compile with the -Wold-style-cast warning enabled
2016-11-23 01:34:53 +01:00
Shane Grant
1d67d44024 Removed boost_test as a requirement
-Now build 32 bit unit tests if portability testing is enabled
-No more boost+clang issues over std::string abi
see #139, #123
2016-11-04 16:07:00 -07:00
Shane Grant
66528b68be last? conversions for #139 2016-11-04 15:51:57 -07:00
Shane Grant
978b3b56b4 typo fix in comment #139 2016-11-04 12:11:51 -07:00
Shane Grant
13ae5609df more #139 2016-11-04 12:10:24 -07:00
Shane Grant
07818f4527 more #139 2016-11-04 12:00:16 -07:00
Shane Grant
b5e500d3b2 more #139 2016-11-02 16:32:35 -07:00
Shane Grant
a6e59d7e06 more for #139 2016-11-02 13:38:33 -07:00
Shane Grant
cd46374df8 more converted for #139 2016-11-02 12:20:22 -07:00
Shane Grant
38e15480c0 headers #139 2016-11-01 11:59:40 -07:00
Shane Grant
15c73394a9 more conversions #139 2016-11-01 11:59:02 -07:00
Shane Grant
928cd36335 more conversions to CHECK_EQ
see #139
2016-11-01 11:41:28 -07:00