Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions conformance_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3501,3 +3501,34 @@
Use of expression tool to change basename of file, then correctly staging
the file using the new name.
tags: [ required, command_line_tool, inline_javascript, expression_tool ]

- label: runtime-outdir
output: {
"stuff": {
"class": "Directory",
"listing": [
{
"basename": "baz.txt",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"class": "File",
"size": 0
},
{
"basename": "foo",
"class": "Directory",
"listing": [
{
"basename": "bar.txt",
"checksum": "sha1$da39a3ee5e6b4b0d3255bfef95601890afd80709",
"class": "File",
"size": 0
}
]
}
]
}
}
tool: tests/runtime-outdir.cwl
doc: |
Use of $(runtime.outdir) for outputBinding glob.
tags: [ required, command_line_tool ]
14 changes: 14 additions & 0 deletions tests/runtime-outdir.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cwlVersion: v1.2
class: CommandLineTool
baseCommand: [bash, -c]
arguments:
- |
mkdir -p foo
touch baz.txt
touch foo/bar.txt
inputs: []
outputs:
stuff:
type: Directory
outputBinding:
glob: $(runtime.outdir)