Zach Laine
5db8b41f7d
Use the UTF-8 iterators from Boost.Text instead of the one from Boost.Regex.
2018-09-24 10:20:12 -05:00
Zach Laine
2575467a40
Move all headers under include/boost/.
2018-09-24 06:48:48 -05:00
Zach Laine
d71f00f99c
yaml:: -> boost::yaml::
2018-09-24 06:30:08 -05:00
Zach Laine
87d2c2adf2
Tag numerous JSONTestSuite files as expected failures.
2017-05-18 22:05:41 -05:00
Zach Laine
f5c036dc42
Tag failing json tests with invalid UTF-8 sequences as expected failures.
2017-05-16 18:30:58 -05:00
Zach Laine
c2def6b170
Tag failing i_* json tests as expected failures.
2017-05-16 18:16:45 -05:00
Zach Laine
a1b3f9b137
Add a test for each JSONTestSuite/test_parsing file.
2017-05-16 12:44:45 -05:00
Zach Laine
944d24b664
Add an explicit error when leading block scalar indentation is wrong.
2017-05-15 10:19:39 -05:00
Zach Laine
4978d913b4
Add a test covering the new warnings.
2017-05-15 00:33:23 -05:00
Zach Laine
8d444b9754
Remove the mistaken anchor_property hack, fixing an expected failure.
2017-05-14 16:43:14 -05:00
Zach Laine
4c59bde497
Major refactor that enables diagnosis of repeated YAML and TAG directives.
2017-05-14 01:26:39 -05:00
Zach Laine
a478c44b69
Move the test library sources to src/, and compile a real lib for the test and
...
perf programs to use.
2017-05-12 20:26:55 -05:00
Zach Laine
77739b7a91
Add Google Benchmark-based parser perf test.
2017-05-12 18:54:01 -05:00
Zach Laine
6174694d1a
test_files -> local_test_files
2017-05-12 17:44:40 -05:00
Zach Laine
1278bdfd0a
Consolidate lists of tests and known failures.
2017-05-12 16:08:49 -05:00
Zach Laine
e0c549a92d
Tag more broken tests.
2017-05-12 14:40:18 -05:00
Zach Laine
edb019f72e
It looks like the yaml-test-suite tests intend a terminal "\" to be a
...
placeholder for a terminal newline.
2017-05-12 13:59:57 -05:00
Zach Laine
0ed0a9b976
Add simple CMake file to build libyaml and one of its test apps.
2017-05-11 18:55:15 -05:00
Zach Laine
82ddfc7227
Mark a few more expected failures.
2017-05-11 17:56:56 -05:00
Zach Laine
b75aab44cf
Move configuration of Spirit debug output from compile time to run time. Give
...
the test apps an optional "-v" flag to control this output.
2017-05-11 15:51:31 -05:00
Zach Laine
e1d60f54b9
Mark a compare test as an expected failure.
2017-05-11 14:37:43 -05:00
Zach Laine
6a536f260a
Add scalar_auto_detect_indent, which must do multiline lookahead.
2017-05-10 21:24:35 -05:00
Zach Laine
d180a11454
De-templatize the parsers.
2017-05-10 17:04:55 -05:00
Zach Laine
83401b05a0
Add config.hpp, and a build-test of the use of YAML_HEADER_ONLY.
2017-05-10 16:10:17 -05:00
Zach Laine
77ea53a917
Mark a couple more expected failures, and fix part of the CMake failure
...
auto-marking.
2017-05-10 13:26:44 -05:00
Zach Laine
8d80390b3e
Change .tml section stripping to elide the extra newline at the end of each section.
2017-05-10 12:14:17 -05:00
Zach Laine
80aaa62a4f
Add print_yaml_canonical(), and use this in the parse-compare tests.
2017-05-09 15:38:55 -05:00
Zach Laine
e735e0fd48
Fix CMake marking of known parse-only failures as expected comparison test
...
failures as well.
2017-05-08 23:31:59 -05:00
Zach Laine
c5010cea17
Annotate some obviously broken comparison tests as expected failures.
2017-05-08 23:03:01 -05:00
Zach Laine
f53d18d64f
Add tests for comparing the in-yaml, out-yaml, and json sections from the .tml
...
test files.
2017-05-08 22:15:02 -05:00
Zach Laine
405269423c
Modify make_test_suite_yaml.py to create files for the out-yaml and json
...
sections as well.
2017-05-08 20:38:10 -05:00
Zach Laine
d2fc6305bb
Another large refactor, this time to support UTF-8 streams.
2017-05-08 17:23:21 -05:00
Zach Laine
2b69ae79c8
Effectively constrain all the parser templates by enforcing their use of
...
Spirit's position_iterator<>. Also, give each parser a "_t" suffix.
2017-05-07 15:08:34 -05:00
Zach Laine
1bd2eb7d36
Second half of the BOM-handling refactor.
2017-05-07 12:37:39 -05:00
Zach Laine
7e208d7085
First half of a largish refactor that allows BOMs to be handled correctly.
2017-05-06 14:29:10 -05:00
Zach Laine
edfc5c4f6d
boost::optional instead of out-param for parse_yaml().
2017-05-05 16:01:15 -05:00
Zach Laine
dbdce9abc3
Mark XW4D as an expected failure.
2017-05-05 01:03:05 -05:00
Zach Laine
682c0ff55f
Clarify reason that NHX8 and P94K are marked as expected failures.
2017-05-05 00:13:19 -05:00
Zach Laine
630032589c
Mark NHX8 and P94K as expected failures.
2017-05-04 21:20:43 -05:00
Zach Laine
ec9be6a771
Don't expect escaped_percent_27NA.yml to be treated as an error.
2017-05-02 20:38:05 -05:00
Zach Laine
6832be2621
Update yaml-test-suite, and support its new error-tagged tests.
2017-05-02 20:23:14 -05:00
Zach Laine
bb3448d250
Mark 2SXE as an expected failure.
2017-05-02 20:13:56 -05:00
Zach Laine
7f8684191c
Correct typo in test/CMakeLists.txt.
2017-05-01 21:26:55 -05:00
Zach Laine
202cb3318a
Don't require test input files to contain at least one document.
2017-05-01 21:26:55 -05:00
Zach Laine
3f7e0cba2c
Apparently <SPC> means ' ' in the input test data. Sigh again.
2017-05-01 21:26:55 -05:00
Zach Laine
98e4efbd47
Remove simplifying assumption in tests that each input file contains only one
...
document.
2017-04-30 10:52:18 -05:00
Zach Laine
b5e25fc867
Apparently <TAB> means \t in the input test data. Sigh.
2017-04-30 01:07:42 -05:00
Zach Laine
84209639c7
Serveral interconencted changes:
...
- anchored_node_t -> properties_node_t
- Correctly handle anchors and aliases, plus retention of propertieswhen
specified (tags TBD).
- Remove now-moot link_yaml().
This makes ast::value_t Regular.
2017-04-29 23:20:08 -05:00
Zach Laine
59103f136a
Add very simple test to exercise the flow plain parsers.
2017-04-29 16:59:50 -05:00
Zach Laine
67e67afc3e
Add ASan and UBSan build support.
2017-04-28 21:19:39 -05:00