Skip to content

Commit

Permalink
Add test for dockerOutputDirectory option of DockerRequirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Amstutz committed Nov 8, 2016
1 parent cb1f928 commit 4f65d1f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions v1.0/conformance_test_v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -960,3 +960,14 @@
size: 19
tool: v1.0/file-literal-ex.cwl
doc: Test file literal output created by ExpressionTool

- job: v1.0/empty.json
output:
"thing": {
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"location": "thing",
"class": "File",
"size": 0
}
tool: v1.0/docker-output-dir.cwl
doc: Test dockerOutputDirectory
13 changes: 13 additions & 0 deletions v1.0/v1.0/docker-output-dir.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class: CommandLineTool
cwlVersion: v1.0
requirements:
DockerRequirement:
dockerPull: debian:8
dockerOutputDirectory: /other
inputs: []
outputs:
thing:
type: File
outputBinding:
glob: thing
baseCommand: ["touch", "/other/thing"]

0 comments on commit 4f65d1f

Please sign in to comment.