Skip to content

5.7 lou_checkyaml

This program tests a liblouis table against a corpus of known good Braille translations defined in YAML format. For a description of the format refer to YAML Tests. The program returns 0 if all tests pass or 1 if any of the tests fail. If libyaml is not installed the program will simply skip all tests. Invoke it as follows:

lou_checkyaml YAML_TEST_FILE

The command line options that are accepted by lou_checkyaml are described in common options.

Due to some technical limitations the YAML tests work best if the LOUIS_TABLEPATH is set up correctly. By running make this is all taken care for you. You can also run individual YAML tests as shown in the following example:

cd tests
make check TESTS=yaml/en-ueb-g2_backward.yaml