summaryrefslogtreecommitdiff
path: root/runcmd.yaml
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-05-21 07:27:38 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2020-05-21 07:27:38 +0000
commit576aa3bcbb6615f4fef73264029fc22af78fdfdc (patch)
treeec50e222e1c9b139d08a0eae6911cbe87e0fb485 /runcmd.yaml
parent6d77fdedd7fd0f832a543b7eb530ae15984aa377 (diff)
parent0a073fa0b2a7e456d3bff9c9bfe930e8b3ee7449 (diff)
downloadsubplot-576aa3bcbb6615f4fef73264029fc22af78fdfdc.tar.gz
Merge branch 'multi' into 'master'
Add support for multiple bindings and functions files See merge request larswirzenius/subplot!43
Diffstat (limited to 'runcmd.yaml')
-rw-r--r--runcmd.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/runcmd.yaml b/runcmd.yaml
new file mode 100644
index 0000000..02e5ee1
--- /dev/null
+++ b/runcmd.yaml
@@ -0,0 +1,13 @@
+- then: exit code is non-zero
+ function: exit_code_nonzero
+
+- then: output matches /(?P<pattern>.+)/
+ function: stdout_contains
+ regex: true
+
+- then: stderr matches /(?P<pattern>.+)/
+ function: stderr_contains
+ regex: true
+
+- then: program finished successfully
+ function: exit_code_zero