Add conformance tests for the cwltool issue 1330 (eager vs. lazy eval of reqs and hints) #195
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Conformance tests for common-workflow-language/cwltool#1330
Used the example provided by @manabuishii, extending it for:
Running locally with the latest
cwltool
from PYPI:Running with the code from the branch of the PR common-workflow-language/cwltool#1703:
(venv) kinow@ranma:~/Development/python/workspace/cwl-v1.2/tests/eager-eval-reqs-hints$ cwltest --test test-index.yaml --tool cwltool Test [1/12] eager_reqs_wf_reqs_default_threads: Test a workflow with requirements using the default values Test [2/12] eager_reqs_wf_reqs_10_threads: Test a workflow with requirements using 10 threads Test [3/12] eager_reqs_wf_hints_default_threads: Test a workflow with hints using the default values Test [4/12] eager_reqs_wf_hints_10_threads: Test a workflow with hints using 10 threads Test [5/12] eager_reqs_cmdtool_reqs_default_threads: Test a cmdtool with requirements using the default values Test [6/12] eager_reqs_cmdtool_reqs_10_threads: Test a cmdtool with requirements using 10 threads Test [7/12] eager_reqs_cmdtool_hints_default_threads: Test a cmdtool with hints using the default values Test [8/12] eager_reqs_cmdtool_hints_10_threads: Test a cmdtool with hints using 10 threads Test [9/12] eager_reqs_expr_reqs_default_threads: Test a expr with requirements using the default values Test [10/12] eager_reqs_expr_reqs_10_threads: Test a expr with requirements using 10 threads Test [11/12] eager_reqs_expr_hints_default_threads: Test a expr with hints using the default values Test [12/12] eager_reqs_expr_hints_10_threads: Test a expr with hints using 10 threads All tests passed
So 8 passed with the current code of
cwltool
, and 4 failed (I thought it was the other way round @mr-c, sorry). The problem appears to happen whenclass: Workflow
.-Bruno