diff options
| author | Arun Isaac | 2025-11-30 01:13:27 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-11-30 01:41:37 +0000 |
| commit | 02465beace67ae6be4f3ef44f3cb01f0c432571a (patch) | |
| tree | a6c96765ca516237ce6402aecb426c78218e560a /.guix | |
| parent | 1e8709f7a1b2a8c4faf4342691cd1fe05712c5a6 (diff) | |
| download | ravanan-02465beace67ae6be4f3ef44f3cb01f0c432571a.tar.gz ravanan-02465beace67ae6be4f3ef44f3cb01f0c432571a.tar.lz ravanan-02465beace67ae6be4f3ef44f3cb01f0c432571a.zip | |
guix: Copy CWL files in E2E tests.
So far, we only supported ccwl sources to be compiled in E2E tests. Now, we also support CWL files that must simply be copied.
Diffstat (limited to '.guix')
| -rw-r--r-- | .guix/e2e-tests.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.guix/e2e-tests.scm b/.guix/e2e-tests.scm index 9e1229b..cbade68 100644 --- a/.guix/e2e-tests.scm +++ b/.guix/e2e-tests.scm @@ -67,6 +67,7 @@ (error "Command invocation failed" command)))))))) (mkdir #$output) + ;; Compile ccwl sources. (for-each (lambda (source-file) (call-with-output-file (string-append #$output "/" @@ -78,7 +79,12 @@ source-file) get-string-all) <>))) - (find-files #$sources-directory "\\.scm$"))))) + (find-files #$sources-directory "\\.scm$")) + ;; Copy CWL files. + (for-each (lambda (cwl-file) + (copy-file cwl-file + (string-append #$output (basename cwl-file)))) + (find-files #$sources-directory "\\.cwl$"))))) (define e2e-tools (computed-file "e2e-tools" |
