summaryrefslogtreecommitdiff
path: root/tests/subplots/common/runcmd_test.yaml
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2022-01-01 18:09:35 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2022-01-01 18:09:35 +0000
commitb9de4d5e810d07b679ad9ab9e46d58e4c76213cc (patch)
treeb69c6b84b9ce025d6f7afd92d734452757f4f365 /tests/subplots/common/runcmd_test.yaml
parent95b3d27d27a8dab7cb8a5136000a2331ab9b4a4a (diff)
downloadsubplot-b9de4d5e810d07b679ad9ab9e46d58e4c76213cc.tar.gz
tests: Make runcmd.md a common test set now
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'tests/subplots/common/runcmd_test.yaml')
-rw-r--r--tests/subplots/common/runcmd_test.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/subplots/common/runcmd_test.yaml b/tests/subplots/common/runcmd_test.yaml
new file mode 100644
index 0000000..daab202
--- /dev/null
+++ b/tests/subplots/common/runcmd_test.yaml
@@ -0,0 +1,13 @@
+- given: "executable script {filename} from {embedded:file}"
+ impl:
+ python:
+ function: create_script_from_embedded
+ rust:
+ function: create_script_from_embedded
+
+- when: "I prepend {dirname} to PATH"
+ impl:
+ python:
+ function: runcmd_prepend_to_path
+ rust:
+ function: prepend_to_path