about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2026-07-01 14:51:43 +0100
committerArun Isaac2026-07-01 23:14:41 +0100
commit17f98d56973506fad6e7a75c4458464658b4e03e (patch)
treec78a5fe7bf176513872accba0fa09ff16686b986 /tests
parent1578e7df972b61e8ece643dc9109492436e711f8 (diff)
downloadccwl-17f98d56973506fad6e7a75c4458464658b4e03e.tar.gz
ccwl-17f98d56973506fad6e7a75c4458464658b4e03e.tar.lz
ccwl-17f98d56973506fad6e7a75c4458464658b4e03e.zip
tests: Simplify external CWL workflow relative path test.
Diffstat (limited to 'tests')
-rw-r--r--tests/ccwl.scm3
-rw-r--r--tests/echo.cwl7
-rw-r--r--tests/lang.scm3
3 files changed, 10 insertions, 3 deletions
diff --git a/tests/ccwl.scm b/tests/ccwl.scm
index 38a8302..b2da5cd 100644
--- a/tests/ccwl.scm
+++ b/tests/ccwl.scm
@@ -63,6 +63,9 @@
              #:stdin file))
    'inputs))
 
+(test-assert "resolve CWL workflow relative to source file"
+  (cwl-workflow "echo.cwl"))
+
 (test-equal "read all forms of inputs and outputs from a CWL workflow"
   '(((spam string))
     ((ham stdout)
diff --git a/tests/echo.cwl b/tests/echo.cwl
new file mode 100644
index 0000000..b957a59
--- /dev/null
+++ b/tests/echo.cwl
@@ -0,0 +1,7 @@
+cwlVersion: v1.2
+class: CommandLineTool
+baseCommand: echo
+inputs:
+  message:
+    type: string
+outputs: {}
diff --git a/tests/lang.scm b/tests/lang.scm
index d8a891b..5c506bc 100644
--- a/tests/lang.scm
+++ b/tests/lang.scm
@@ -23,9 +23,6 @@
 
 (test-begin "lang")
 
-(test-assert "load source file referencing external CWL workflow relative to it"
-  (ccwl-load "test-data/external-cwl-workflow.scm"))
-
 (test-condition "loading non-existent source file must raise a &ccwl-violation"
   ccwl-violation?
   (ccwl-load "/non-existent/file.scm"))