From 02465beace67ae6be4f3ef44f3cb01f0c432571a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 30 Nov 2025 01:13:27 +0000 Subject: 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. --- .guix/e2e-tests.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.guix') 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" -- cgit 1.4.1