Commit Graph

201 Commits

Author SHA1 Message Date
Nikita Kniazev
7771d20cc7 Fix MSVC C4127 warnings 2019-09-30 01:29:29 +03:00
Nikita Kniazev
db5799558d Fix MSVC C4189 warnings 2019-09-28 19:10:10 +03:00
Nikita Kniazev
0ab06abfc6 Annotate, clean up, and group extended ASCII tests 2019-03-01 22:50:15 +03:00
Nikita Kniazev
ddd4619987 Hexencode extended ASCII characters
There is no other portable way to deal with extended ASCII in source code.
2019-03-01 22:50:15 +03:00
Nikita Kniazev
e46e58f4cd Tests: Added precompiled headers
Not intrusive. Significantly speeds up tests on MSVC (for about 3 times).
Finally solves exceeding build time limits on CI with MSVC compilers.

Did not set up PCH for X3, it is fast as-is (tooks only about 2 minutes).
Repository tests reuse PCH from Qi/Karma tests.
2019-01-21 02:59:45 +03:00
Nikita Kniazev
e07ce69363 Removed unused lexical_cast includes 2018-12-27 19:36:51 +03:00
Nikita Kniazev
304a10ff33
Karma.Tests: real.hpp: Fixed typo in comments
https://svn.boost.org/trac10/ticket/8440
2018-11-22 18:27:58 +03:00
Nikita Kniazev
5e4ab36170 Tests: Include less headers 2018-10-01 02:16:04 +03:00
Nikita Kniazev
b3ae790e2b Use endian macros from Predef
The `boost/detail/endian.hpp` header is deprecated.
2018-09-15 18:19:49 +03:00
Nikita Kniazev
1d9aa696bf Karma: Fixed use after scope bug if ADT getter returns by value
The `extract_from_attribute` returns a reference to a temporary
value produced by calling Fusion ADT adapted sequence getter that
returns by value.

Was reported 6 years ago https://svn.boost.org/trac10/ticket/6126
2018-03-15 18:50:17 +03:00
Nikita Kniazev
7fdc4d2460
Merge pull request #333 from Kojoley/fix-karma-binary2-overflow
Karma.Tests: Fixed overflow in binary tests
2017-12-18 18:51:02 +03:00
Nikita Kniazev
2104d5f063 Karma.Tests: Fixed overflow in binary tests 2017-12-18 00:10:16 +03:00
octopus-prime
cf769b145f Trigger appveyor 2017-12-17 13:14:04 +01:00
octopus-prime
6a4547ca43 Added fix and test from trac # 5983 2017-12-15 11:29:46 +01:00
Nikita Kniazev
0917fca9fd Tests: Improve tests
- Split Spirit v2 tests
  - Readd missing v2 tests
  - Run X3 tests
  - Remove `-p3` suffix
  - Use `<c++-template-depth>`
  - Automatic adding of subproject name prefix
  - Flatten tests declaration
2017-11-28 03:10:20 +03:00
Nikita Kniazev
9c2d6dec93
Revert "Split Spirit v2 tests" 2017-11-26 14:45:39 +03:00
Nikita Kniazev
a21b0b33f5 Split Spirit v2 tests 2017-11-25 14:40:54 +03:00
Nikita Kniazev
625fbc6cd9 Karma.Tests: regression_real_policy_sign: Fixed unused parameter warning 2017-11-21 19:49:35 +03:00
Nikita Kniazev
d06cc5945b Karma.Tests: regression_real_scientific: Fixed semicolon after main function 2017-11-21 19:49:35 +03:00
Nikita Kniazev
4810f02271 Fixed semicolon after BOOST_FUSION_ADAPT_* 2017-11-21 19:49:35 +03:00
Nikita Kniazev
d99cdf5bd2 Tests: Removed unused argc and argv parameters 2016-08-29 19:25:23 +03:00
Joel de Guzman
4789aec3d9 Merge pull request #215 from Kojoley/fix-multiple-unsued-variable-warnings
Tests: Fixed multiple unused variable warnings
2016-08-26 06:23:44 +08:00
Nikita Kniazev
18324547c6 Karma.Tests: Fixed bool increment warning 2016-08-25 23:29:17 +03:00
Nikita Kniazev
bab7a9f38c Karma.Tests: Fixed unused variables warning from pattern4 test 2016-08-25 22:31:10 +03:00
Lee Clagett
e16bec0aef Fixed bug in karma::duplicate attribute reporting 2015-07-30 23:30:33 -04:00
Lee Clagett
e09cc45812 Fixed modifier bug with karma::left_align 2015-07-20 22:57:03 -04:00
Lee Clagett
726a930dc6 Fixed bug with null-termination and string containers. 2014-10-18 23:56:15 -04:00
Joel de Guzman
d2afc02c2d - temporarily disabling some karma tests
- wrapped the affected tests in #if defined(BOOST_SPIRIT_ZERO_PROBLEM)
2014-07-15 11:08:13 +08:00
Yuri Khan
555fb29c71 Add test exercising attribute_size<optional<T> > 2014-03-03 15:19:11 +07:00
K-ballo
288ea470ea Fixed omit/skip in test case 2013-12-14 12:11:48 -06:00
Hartmut Kaiser
90d65d4be7 Fixed #8970: Karma fails to output a sign with a user-defined real number policy
[SVN r85221]
2013-08-06 13:36:38 +00:00
Hartmut Kaiser
81b9bb40b0 Spirit: fixing a problem in karma::omit
[SVN r84814]
2013-06-17 13:11:30 +00:00
Hartmut Kaiser
ad53d2e841 Fix #7900: karma indirect_iterator returns reference to temporary
[SVN r82521]
2013-01-17 13:33:58 +00:00
Hartmut Kaiser
c8c65757c6 Spirit: fixing inspect errors
[SVN r82191]
2012-12-23 20:02:12 +00:00
Hartmut Kaiser
3ba8b8b8ed Spirit: applying Karma unicode patch
[SVN r81746]
2012-12-06 17:41:53 +00:00
Hartmut Kaiser
7aa7ebd3c1 Spirit: fixed #7635: Karma real generators output "inf" when attribute is integral 0
[SVN r81160]
2012-11-03 15:16:56 +00:00
Hartmut Kaiser
d14eb0fd7c Spirit: correcting copyright
[SVN r76463]
2012-01-13 18:48:54 +00:00
Hartmut Kaiser
ef42d4535d Spirit: Fixed a problem in Karma when a variant holding a container was used as a generator inside a sequence.
[SVN r76462]
2012-01-13 18:46:11 +00:00
Hartmut Kaiser
4cb423d7db Spirit: Fixing problems in karma::center[] directive
[SVN r76381]
2012-01-09 13:47:25 +00:00
Hartmut Kaiser
8cfd595355 Spirit: applying Vitaly Budovski's patch adding binary floating point parsers and generators
[SVN r75105]
2011-10-24 15:05:44 +00:00
Joel de Guzman
78cb23c6ac Added rvalue support for symbols %=
[SVN r74906]
2011-10-11 00:24:04 +00:00
Hartmut Kaiser
b5a81660c3 Spirit: copyright fixes
[SVN r74246]
2011-09-05 22:32:29 +00:00
Hartmut Kaiser
09b20da8cd Spirit: renamed test
[SVN r71373]
2011-04-18 17:33:19 +00:00
Hartmut Kaiser
e1ceb64f5a Spirit: more karma adapted ADT problems fixed, full radix range for karma::uint_generators
[SVN r71372]
2011-04-18 17:08:57 +00:00
Hartmut Kaiser
962b5862d4 Spirit: fixing another problem with adapted ADTs related to numerics
[SVN r71353]
2011-04-17 15:46:28 +00:00
Hartmut Kaiser
575df4e144 Spirit: fixing more problems with using adapted ADTs in Kamra
[SVN r71305]
2011-04-16 02:10:11 +00:00
Hartmut Kaiser
2dc2bc919f Spirit: adding missing numeric CP specializations for adapted ADTs, added test
[SVN r71231]
2011-04-13 21:54:16 +00:00
Thomas Heller
b3678abf1d [phoenix]
- Added documention for the function adaption macros
    - Added the What's new section
    - Fixed some bugs
    - Added basic support for phx2 result type deduction, not in production yet

[spirit]
    - Made necessary changes that reflect latest phoenix internal changes



[SVN r71227]
2011-04-13 19:09:59 +00:00
Hartmut Kaiser
400a764d61 Spirit: patch allowing to use Spirit with Phoenix V3
[SVN r70656]
2011-03-28 02:37:31 +00:00
Hartmut Kaiser
e342e00d02 Spirit: applied Thomas Heller's patch fixing a bunch of warnings
[SVN r70605]
2011-03-26 23:48:38 +00:00