about summary refs log tree commit diff
path: root/tests/lang.scm
diff options
context:
space:
mode:
authorArun Isaac2026-06-25 15:31:59 +0100
committerArun Isaac2026-06-26 00:50:39 +0100
commit1e126d7c7a4cb661b87a920f80e2818e3bb881e3 (patch)
treeed13a44b74cfa51383a9f609213a044d8ea6b38a /tests/lang.scm
parentf218e5e444b9d4046a7e6adce487a14ab40248ac (diff)
downloadccwl-1e126d7c7a4cb661b87a920f80e2818e3bb881e3.tar.gz
ccwl-1e126d7c7a4cb661b87a920f80e2818e3bb881e3.tar.lz
ccwl-1e126d7c7a4cb661b87a920f80e2818e3bb881e3.zip
tests: Reference external CWL workflow by relative path.
Diffstat (limited to 'tests/lang.scm')
-rw-r--r--tests/lang.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/lang.scm b/tests/lang.scm
new file mode 100644
index 0000000..247f2e1
--- /dev/null
+++ b/tests/lang.scm
@@ -0,0 +1,27 @@
+;;; ccwl --- Concise Common Workflow Language
+;;; Copyright © 2026 Arun Isaac <arunisaac@systemreboot.net>
+;;;
+;;; This file is part of ccwl.
+;;;
+;;; ccwl is free software: you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation, either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; ccwl is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with ccwl.  If not, see <https://www.gnu.org/licenses/>.
+
+(use-modules (srfi srfi-64)
+             (ccwl lang))
+
+(test-begin "lang")
+
+(test-assert "load source file referencing external CWL workflow relative to it"
+  (ccwl-load "test-data/external-cwl-workflow.scm"))
+
+(test-end "lang")