Add support for doctests (#1909)
Markdown files in the docs/ directory can now be annotated to turn
fenced C code blocks into unit tests. The recognized syntax is:
[doctest]: # (name="test.c", test="run")
```c
// unit test code
```
The commit also fixes the issues revealed during the initial
annotation.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -42,3 +42,4 @@ docs/doxygen
|
||||
|
||||
# Tests
|
||||
tests/test262/
|
||||
tests/unit-doc/*.c
|
||||
|
||||
Reference in New Issue
Block a user