Skip to content

Commit

Permalink
Add additional test for cwl.output.json behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Amstutz committed Oct 7, 2016
1 parent e831c20 commit ed40737
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
18 changes: 17 additions & 1 deletion v1.0/conformance_test_v1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,23 @@
}
}
tool: v1.0/test-cwl-out.cwl
doc: Test support for reading cwl.output.json when running in Docker container
doc: |
Test support for reading cwl.output.json when running in a Docker container
and just "path" is provided.
- job: v1.0/empty.json
output: {
"foo": {
"location": "foo",
"class": "File",
"checksum": "sha1$f1d2d2f924e986ac86fdf7b36c94bcdf32beec15",
"size": 4
}
}
tool: v1.0/test-cwl-out2.cwl
doc: |
Test support for reading cwl.output.json when running in a Docker container
and just "location" is provided.
- job: v1.0/abc.json
output:
Expand Down
18 changes: 18 additions & 0 deletions v1.0/v1.0/test-cwl-out2.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class: CommandLineTool
cwlVersion: v1.0
requirements:
- class: ShellCommandRequirement
hints:
DockerRequirement:
dockerPull: "debian:wheezy"

inputs: []

outputs:
- id: foo
type: File

arguments:
- valueFrom: >
echo foo > foo && echo '{"foo": {"location": "file://$(runtime.outdir)/foo", "class": "File"} }' > cwl.output.json
shellQuote: false

0 comments on commit ed40737

Please sign in to comment.