summaryrefslogtreecommitdiff
path: root/subplot.md
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-08-14 10:48:26 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-09-07 17:32:20 +0100
commitd5c69db746b5c4ba938248a7d1c285256c6e6412 (patch)
treec0945c1eba87cc2702ea574a94c5cfa5ae61762c /subplot.md
parent4436b7ee28b0318a96d98833d85d712c8a18850d (diff)
downloadsubplot-d5c69db746b5c4ba938248a7d1c285256c6e6412.tar.gz
subplot: Properly support polyglot bindings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplot.md')
-rw-r--r--subplot.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/subplot.md b/subplot.md
index aef5808..dee393f 100644
--- a/subplot.md
+++ b/subplot.md
@@ -936,26 +936,38 @@ then bar was done
impl:
python:
function: precond_foo
+ bash:
+ function: precond_foo
- when: I do bar
impl:
python:
function: do_bar
+ bash:
+ function: do_bar
- when: I do foobar
impl:
python:
function: do_foobar
+ bash:
+ function: do_foobar
- then: bar was done
impl:
python:
function: bar_was_done
+ bash:
+ function: bar_was_done
- then: foobar was done
impl:
python:
function: foobar_was_done
+ bash:
+ function: foobar_was_done
- given: file {filename}
impl:
python:
function: provide_file
+ bash:
+ function: provide_file
types:
filename: file
~~~
@@ -1176,16 +1188,25 @@ test this for every language template we support.
python:
function: foo
cleanup: foo_cleanup
+ bash:
+ function: foo
+ cleanup: foo_cleanup
- given: bar
impl:
python:
function: bar
cleanup: bar_cleanup
+ bash:
+ function: bar
+ cleanup: bar_cleanup
- given: failure
impl:
python:
function: failure
cleanup: failure_cleanup
+ bash:
+ function: failure
+ cleanup: failure_cleanup
~~~
~~~{#cleanup.py .file .python .numberLines}