diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2020-08-13 11:54:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 11:54:55 -0400 |
commit | 3d0f94be2999edd4ab38fc3018e01613b8de582a (patch) | |
tree | 22cf0efb467b38c171d8f7e3069fe1cdf0f37f5e /doc | |
parent | 1c9ad5b7c607cfca25ea9f23b60c9c7f1526482e (diff) | |
download | asciidoc-git-3d0f94be2999edd4ab38fc3018e01613b8de582a.tar.gz |
auto clean-up generated artifacts from test suite (#135)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/slidy-example.txt | 6 | ||||
-rw-r--r-- | doc/testasciidoc.txt | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/slidy-example.txt b/doc/slidy-example.txt index cfac62b..aab2dd3 100644 --- a/doc/slidy-example.txt +++ b/doc/slidy-example.txt @@ -152,11 +152,6 @@ def sub_word(mo): return word --------------------------------------------------------------------- -//// -The music generation block is ignored for testing as it generates a PNG -that is unique to the combination of lilypond and libpng used, which is -easily different from environment to environment - [music] .Music --------------------------------------------------------------------- @@ -170,4 +165,3 @@ easily different from environment to environment c2 e4 g2. f4 e d c2 r4 } --------------------------------------------------------------------- -//// diff --git a/doc/testasciidoc.txt b/doc/testasciidoc.txt index 68f0e12..632f592 100644 --- a/doc/testasciidoc.txt +++ b/doc/testasciidoc.txt @@ -174,12 +174,17 @@ AsciiDoc source file name. % backends Optional list of backends to be tested(default is all backends). + % options Optional list of command-line option tuples. % attributes Optional dictionary of attribute values. +% artifacts +Optional list of artifacts that get generated from test, and which +will get cleaned up. + --------------------------------------------------------------------- Example test spec: @@ -224,6 +229,11 @@ configuration file that comes with AsciiDoc. - The `requires` directive data specifies a Python list of strings which correspond to the command line program specified by filters in that test. +- The `artifacts` directive data specifies a Python list of strings + which corresponds to the list of files (usually image or other such + files) that get generated when asciidoc is run over the input file. + The files are deleted after the test is for a given source file is + run for all backends. globals directive ~~~~~~~~~~~~~~~~~ |