diff options
| author | Arun Isaac | 2025-08-28 20:09:50 +0100 |
|---|---|---|
| committer | Arun Isaac | 2025-11-16 22:42:59 +0000 |
| commit | 767f80e7296c41a4428c73cadc90b953d252f8d7 (patch) | |
| tree | ce32736718146b2c01dd27c5627503786f33b505 /e2e-tests/jobs | |
| parent | 8b4d0320cbc2f07c9040aee7b6e7e4fb1fe08a91 (diff) | |
| download | ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.tar.gz ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.tar.lz ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.zip | |
e2e-tests: Add tests based off of examples in the ccwl manual.
Diffstat (limited to 'e2e-tests/jobs')
| -rw-r--r-- | e2e-tests/jobs/capture-output-file-with-parameter-reference.yaml | 4 | ||||
| -rw-r--r-- | e2e-tests/jobs/capture-output-file.yaml | 3 | ||||
| -rw-r--r-- | e2e-tests/jobs/checksum.yaml | 3 | ||||
| -rw-r--r-- | e2e-tests/jobs/decompress-compile-run.yaml | 3 | ||||
| -rw-r--r-- | e2e-tests/jobs/hello.c | 7 | ||||
| -rw-r--r-- | e2e-tests/jobs/hello.c.gz | bin | 0 -> 101 bytes | |||
| -rw-r--r-- | e2e-tests/jobs/hello.tar | bin | 0 -> 10240 bytes | |||
| -rw-r--r-- | e2e-tests/jobs/inline-javascript-requirement.json | 1 | ||||
| -rw-r--r-- | e2e-tests/jobs/prefix-arguments.json | 4 | ||||
| -rw-r--r-- | e2e-tests/jobs/scatter.yaml | 5 | ||||
| -rw-r--r-- | e2e-tests/jobs/spell-check-dictionary | 8 | ||||
| -rw-r--r-- | e2e-tests/jobs/spell-check-text.txt | 1 | ||||
| -rw-r--r-- | e2e-tests/jobs/spell-check.yaml | 6 | ||||
| -rw-r--r-- | e2e-tests/jobs/staging-input-files.yaml | 3 |
14 files changed, 48 insertions, 0 deletions
diff --git a/e2e-tests/jobs/capture-output-file-with-parameter-reference.yaml b/e2e-tests/jobs/capture-output-file-with-parameter-reference.yaml new file mode 100644 index 0000000..892dbe7 --- /dev/null +++ b/e2e-tests/jobs/capture-output-file-with-parameter-reference.yaml @@ -0,0 +1,4 @@ +archive: + class: File + location: hello.tar +extractfile: hello.txt diff --git a/e2e-tests/jobs/capture-output-file.yaml b/e2e-tests/jobs/capture-output-file.yaml new file mode 100644 index 0000000..faf24d2 --- /dev/null +++ b/e2e-tests/jobs/capture-output-file.yaml @@ -0,0 +1,3 @@ +archive: + class: File + location: hello.tar diff --git a/e2e-tests/jobs/checksum.yaml b/e2e-tests/jobs/checksum.yaml new file mode 100644 index 0000000..dce679c --- /dev/null +++ b/e2e-tests/jobs/checksum.yaml @@ -0,0 +1,3 @@ +file: + class: File + location: hello.tar diff --git a/e2e-tests/jobs/decompress-compile-run.yaml b/e2e-tests/jobs/decompress-compile-run.yaml new file mode 100644 index 0000000..e2a0b74 --- /dev/null +++ b/e2e-tests/jobs/decompress-compile-run.yaml @@ -0,0 +1,3 @@ +compressed_source: + class: File + location: hello.c.gz diff --git a/e2e-tests/jobs/hello.c b/e2e-tests/jobs/hello.c new file mode 100644 index 0000000..07f4fc2 --- /dev/null +++ b/e2e-tests/jobs/hello.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +int main () +{ + printf("Hello World!\n"); + return 0; +} diff --git a/e2e-tests/jobs/hello.c.gz b/e2e-tests/jobs/hello.c.gz new file mode 100644 index 0000000..81c4d84 --- /dev/null +++ b/e2e-tests/jobs/hello.c.gz Binary files differdiff --git a/e2e-tests/jobs/hello.tar b/e2e-tests/jobs/hello.tar new file mode 100644 index 0000000..edcc4a8 --- /dev/null +++ b/e2e-tests/jobs/hello.tar Binary files differdiff --git a/e2e-tests/jobs/inline-javascript-requirement.json b/e2e-tests/jobs/inline-javascript-requirement.json new file mode 100644 index 0000000..32c4275 --- /dev/null +++ b/e2e-tests/jobs/inline-javascript-requirement.json @@ -0,0 +1 @@ +{"number": 13} diff --git a/e2e-tests/jobs/prefix-arguments.json b/e2e-tests/jobs/prefix-arguments.json new file mode 100644 index 0000000..aca82bd --- /dev/null +++ b/e2e-tests/jobs/prefix-arguments.json @@ -0,0 +1,4 @@ +{ + "separator": ",", + "last": 10 +} diff --git a/e2e-tests/jobs/scatter.yaml b/e2e-tests/jobs/scatter.yaml new file mode 100644 index 0000000..702d6f3 --- /dev/null +++ b/e2e-tests/jobs/scatter.yaml @@ -0,0 +1,5 @@ +message: foo +other_messages: + - bar + - foobar + - barbar diff --git a/e2e-tests/jobs/spell-check-dictionary b/e2e-tests/jobs/spell-check-dictionary new file mode 100644 index 0000000..71df044 --- /dev/null +++ b/e2e-tests/jobs/spell-check-dictionary @@ -0,0 +1,8 @@ +brown +dog +fox +jumps +lazy +over +quick +the \ No newline at end of file diff --git a/e2e-tests/jobs/spell-check-text.txt b/e2e-tests/jobs/spell-check-text.txt new file mode 100644 index 0000000..a116b9a --- /dev/null +++ b/e2e-tests/jobs/spell-check-text.txt @@ -0,0 +1 @@ +The quick brown fox jumps over the laazy dog. diff --git a/e2e-tests/jobs/spell-check.yaml b/e2e-tests/jobs/spell-check.yaml new file mode 100644 index 0000000..b01a8e1 --- /dev/null +++ b/e2e-tests/jobs/spell-check.yaml @@ -0,0 +1,6 @@ +text-file: + class: File + location: spell-check-text.txt +dictionary: + class: File + location: spell-check-dictionary diff --git a/e2e-tests/jobs/staging-input-files.yaml b/e2e-tests/jobs/staging-input-files.yaml new file mode 100644 index 0000000..94b5224 --- /dev/null +++ b/e2e-tests/jobs/staging-input-files.yaml @@ -0,0 +1,3 @@ +file: + class: File + location: hello.c |
