]> andersk Git - libyaml.git/blob - tests/run-test-suite/ReadMe.md
f991b378e30495d527d9b11e82c30c49668a4699
[libyaml.git] / tests / run-test-suite / ReadMe.md
1 LibYAML Test Runner
2 ===================
3
4 Run run-parser-test-suite and run-emitter-test-suite against yaml-test-suite
5
6 # Synopsis
7
8 ```
9 make test
10 # Run tests from yaml-test-suite
11 make test-suite
12 ```
13
14 # Overview
15
16 See:
17
18 * https://github.com/yaml/yaml-test-suite
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
This page took 0.024805 seconds and 3 git commands to generate.