38 lines · plain
1llvm-test-mustache-spec - LLVM tool to test Mustache library compliance2=======================================================================3 4.. program:: llvm-test-mustache-spec5 6SYNOPSIS7--------8 9:program:`llvm-test-mustache-spec` [*inputs...*]10 11Description12-----------13 14``llvm-test-mustache-spec`` tests the mustache spec conformance of the LLVM15mustache library. The spec can be found here: https://github.com/mustache/spec16 17To test against the spec, simply download the spec and pass the test JSON files18to the driver. Each spec file should have a list of tests for compliance with19the spec. These are loaded as test cases, and rendered with our Mustache20implementation, which is then compared against the expected output from the21spec.22 23The current implementation only supports non-optional parts of the spec, so24we do not expect any of the dynamic-names, inheritance, or lambda tests to25pass. Additionally, Triple Mustache is not supported. Unsupported tests are26marked as XFail and are removed from the XFail list as they are fixed.27 28The tool prints the number of test failures and successes in each of the test29files to standard output.30 31EXAMPLE32-------33 34.. code-block:: console35 36 $ llvm-test-mustache-spec path/to/specs/\*.json37 38