From c5bccca30b03f6dfef5d6efaaafc20fa9b25f164 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 30 Nov 2025 00:59:49 +0000 Subject: command-line-tool: Handle absent arguments field. --- e2e-tests/tests.yaml | 9 +++++++++ e2e-tests/tools/command-line-tool-without-arguments.cwl | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 e2e-tests/tools/command-line-tool-without-arguments.cwl (limited to 'e2e-tests') diff --git a/e2e-tests/tests.yaml b/e2e-tests/tests.yaml index bc4639c..6f561a8 100644 --- a/e2e-tests/tests.yaml +++ b/e2e-tests/tests.yaml @@ -223,3 +223,12 @@ class: File size: 6 checksum: sha1$d493abaf2d0ffe0bec8d302fdee38a43e80d2a91 +- id: command-line-tool-without-arguments + doc: CommandLineTool without the arguments field + tool: tools/command-line-tool-without-arguments.cwl + job: jobs/hello-world.yaml + output: + output_message: + class: File + size: 13 + checksum: sha1$47a013e660d408619d894b20806b1d5086aab03b diff --git a/e2e-tests/tools/command-line-tool-without-arguments.cwl b/e2e-tests/tools/command-line-tool-without-arguments.cwl new file mode 100644 index 0000000..f0440b0 --- /dev/null +++ b/e2e-tests/tools/command-line-tool-without-arguments.cwl @@ -0,0 +1,12 @@ +cwlVersion: v1.2 +class: CommandLineTool +baseCommand: + - echo +inputs: + message: + type: string + inputBinding: + position: 1 +outputs: + output_message: + type: stdout -- cgit 1.4.1