summaryrefslogtreecommitdiff
path: root/subplot.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-02-15 08:35:43 +0200
committerLars Wirzenius <liw@liw.fi>2020-02-15 09:00:18 +0200
commite975bd5b30eb7f3f46cba32e16ca813e110bc497 (patch)
tree9e33c085db46629672b566bfd7712c002a2c6ed3 /subplot.yaml
parentb0c3b2f3158611caf3f7bcc4ce8b277abde1e035 (diff)
downloadsubplot-e975bd5b30eb7f3f46cba32e16ca813e110bc497.tar.gz
Change: require docgen, codegen to fail if document has no title
sp-filter already has a test that requires it to work without a title.
Diffstat (limited to 'subplot.yaml')
-rw-r--r--subplot.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/subplot.yaml b/subplot.yaml
index 1f8acb2..e309d78 100644
--- a/subplot.yaml
+++ b/subplot.yaml
@@ -4,15 +4,24 @@
- when: I run sp-docgen (?P<md>\S+) -o (?P<output>\S+)
function: run_docgen
+- when: I try to run sp-docgen (?P<md>\S+) -o (?P<output>\S+)
+ function: try_docgen
+
- when: I run sp-codegen --run (?P<filename>\S+) -o test.py
function: run_codegen
+- when: I try to run sp-codegen --run (?P<filename>\S+) -o test.py
+ function: try_codegen
+
- when: I run sp-meta (?P<filename>\S+)
function: run_meta
- when: I run pandoc --filter sp-filter (?P<filename>\S+) -o (?P<output>\S+)
function: run_pandoc_with_filter
+- then: exit code is non-zero
+ function: exit_code_nonzero
+
- then: file (?P<filename>\S+) exists
function: file_exists