Skip to content

Commit be35388

Browse files
author
Peter Amstutz
committed
Merge branch 'master' of github.com:common-workflow-language/common-workflow-language
2 parents 6cf9db8 + 8596238 commit be35388

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

draft-3/examples/docker.cwl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ baseCommand: node
44
hints:
55
- class: DockerRequirement
66
dockerPull: node:slim
7-
baseCommand: node
87
inputs:
98
- id: src
109
type: File

run_test.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ EOF
1414
DRAFT=draft-3
1515
TEST_N=""
1616
RUNNER=cwl-runner
17-
PLATFORM=`uname -s`
17+
PLATFORM=$(uname -s)
18+
COVERAGE="python"
1819

1920
while [[ -n "$1" ]]
2021
do
@@ -63,7 +64,9 @@ runtest() {
6364

6465
runs=$((runs+1))
6566
(cd $DRAFT
66-
python -mcwltool.cwltest --tool "$1" --test=conformance_test_$DRAFT.yaml $TEST_N $TEST_L $ONLY_TOOLS --basedir $DRAFT
67+
${COVERAGE} -m cwltool.cwltest --tool "$1" \
68+
--test=conformance_test_${DRAFT}.yaml ${TEST_N} \
69+
${TEST_L} ${ONLY_TOOLS} --basedir ${DRAFT}
6770
)
6871
checkexit
6972
}

0 commit comments

Comments
 (0)