-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,792 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
centaur/src/main/resources/standardTestCases/directory_type_output_papi.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: directory_type_output_papi | ||
testFormat: workflowsuccess | ||
tags: ["wdl_biscayne"] | ||
backends: [Papi] | ||
|
||
files { | ||
workflow: wdl_biscayne/directory_type_output/directory_type_output.wdl | ||
} | ||
|
||
metadata { | ||
workflowName: main | ||
} |
54 changes: 54 additions & 0 deletions
54
.../resources/standardTestCases/wdl_biscayne/directory_type_output/directory_type_output.wdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
version development | ||
|
||
# CROM-6875 repro WDL to exercise Directory outputs. Since the Directory type does not exist in WDL versions 1.0 or | ||
# draft-2, the bug this is checking for cannot and does not exist in those WDL versions. | ||
workflow main { | ||
call main { input: s1 = "x", s2 = "y" } | ||
scatter (f in main.f) { | ||
call checker { input: f = f } | ||
} | ||
output { Array[File] f = main.f } | ||
} | ||
|
||
task main { | ||
input { | ||
String s1 | ||
String s2 | ||
} | ||
|
||
command <<< | ||
set -euo pipefail | ||
mkdir d | ||
touch "d/~{s1}" | ||
touch "d/~{s2}" | ||
echo -e "d/~{s1}\nd/~{s2}" | ||
>>> | ||
|
||
output { | ||
Directory d = "d" | ||
Array[File] f = read_lines(stdout()) | ||
} | ||
|
||
runtime { | ||
docker: "debian:stable-slim" | ||
} | ||
} | ||
|
||
task checker { | ||
# Check files were actually created as expected above | ||
input { | ||
File f | ||
} | ||
|
||
command <<< | ||
set -euo pipefail | ||
[ -f ~{f} ] | ||
>>> | ||
|
||
output { | ||
} | ||
|
||
runtime { | ||
docker: "debian:stable-slim" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.