diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-27 15:46:54 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-28 10:24:14 +0300 |
commit | 7bb1f735423f2f6e0869450aa82b3dcc93799750 (patch) | |
tree | 33d21167cfcda3d6ccb9c3dc94fc1d28bfc6baaa /subplot.yaml | |
parent | 5f05798c64c13576340046d0c8f58ca6b6978627 (diff) | |
download | subplot-7bb1f735423f2f6e0869450aa82b3dcc93799750.tar.gz |
refactor(subplot.{py,yaml}): use steps/functions from lib/runcmd
Drop the (many) steps and step functions to run Subplot binaries and
use the ones from lib/runcmd instead
Diffstat (limited to 'subplot.yaml')
-rw-r--r-- | subplot.yaml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/subplot.yaml b/subplot.yaml index 0abf8b5..9fefa93 100644 --- a/subplot.yaml +++ b/subplot.yaml @@ -1,42 +1,6 @@ - given: an installed subplot function: install_subplot -- when: I run sp-docgen {md} -o {output} - function: run_docgen - -- when: I run sp-docgen {md} -o {output} --date={date} - function: run_docgen_with_date - -- when: I try to run sp-docgen {md} -o {output} - function: try_docgen - -- when: I run sp-codegen --run {filename} -o {testprog} - function: run_codegen_and_program - -- when: I run sp-codegen {filename} -o {testprog} - function: run_codegen - -- when: I try to run sp-codegen --run {filename} -o {testprog} - function: try_codegen_and_program - -- when: I run python3 {testprog} {pattern} - function: run_python_test_program - -- when: I run bash {testprog} {pattern} - function: run_bash_test_program - -- when: I run sp-meta {filename} - function: run_meta - -- when: I run sp-meta {filename} -o json - function: run_meta_json - -- when: I run sp-extract {filename} {embedded} -d {dirname} - function: run_extract - -- when: I run pandoc --filter sp-filter {filename} -o {output} - function: run_pandoc_with_filter - - then: scenario "(?P<name>.+)" was run function: scenario_was_run regex: true @@ -73,17 +37,3 @@ - then: "{filename} ends in two newlines" function: file_ends_in_two_newlines - -- then: command is successful - function: runcmd_exit_code_is_zero - -- then: command fails - function: runcmd_exit_code_is_nonzero - -- then: stdout contains "(?P<text>.+)" - function: runcmd_stdout_contains - regex: true - -- then: stderr contains "(?P<text>.+)" - function: runcmd_stderr_contains - regex: true |