]>
Commit | Line | Data |
---|---|---|
a672b071 IN |
1 | LibYAML Test Runner |
2 | =================== | |
3 | ||
e5aadc73 | 4 | Run run-parser-test-suite and run-emitter-test-suite against yaml-test-suite |
a672b071 IN |
5 | |
6 | # Synopsis | |
7 | ||
8 | ``` | |
9 | make test | |
e5aadc73 TM |
10 | # Run tests from yaml-test-suite |
11 | make test-suite | |
a672b071 IN |
12 | ``` |
13 | ||
14 | # Overview | |
15 | ||
16 | See: | |
17 | ||
a672b071 | 18 | * https://github.com/yaml/yaml-test-suite |
e5aadc73 TM |
19 | |
20 | # Usage | |
21 | ||
22 | Print parse events for a YAML file (or stdin): | |
23 | ``` | |
24 | ../run-parser-test-suite file.yaml | |
25 | ../run-parser-test-suite < file.yaml | |
26 | cat file.yaml | ../run-parser-test-suite | |
27 | ``` | |
28 | ||
29 | Print the YAML for a libyaml-parser events file (or stdin): | |
30 | ``` | |
31 | ../run-emitter-test-suite file.events | |
32 | ../run-emitter-test-suite < file.events | |
33 | cat file.events | ../libyaml-run-test-suite | |
34 | ``` | |
35 |