summaryrefslogtreecommitdiff
path: root/tests/run.scm
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2026-10-06 08:35:07 +0200
committerPeter Bex <peter@more-magic.net>2026-10-06 08:35:07 +0200
commit83d603d1512cbf284029ccb98ae9920b0fdc0053 (patch)
treeabc31bac290cfccae7482573615a68bb08b2e98e /tests/run.scm
parentde03f90c50278b7493a324c89e326af738b0da7f (diff)
downloadspiffy-83d603d1512cbf284029ccb98ae9920b0fdc0053.tar.gz
Fix tests for C56.5.2
Diffstat (limited to 'tests/run.scm')
-rw-r--r--tests/run.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/run.scm b/tests/run.scm
index 6e6062d..ab796da 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -1,8 +1,13 @@
(import test (chicken irregex) (chicken time) (chicken time posix)
- (chicken file) (chicken bytevector) intarweb)
+ (chicken file) intarweb)
-;; Change this to (use spiffy) when compiling tests
-(load "../spiffy.scm")
+(cond-expand
+ (chicken-6 (import (chicken bytevector)))
+ (else (import (chicken blob) srfi-4)
+ (define (string->utf8 s)
+ (blob->u8vector/shared (string->blob s)))))
+
+;;(load "../spiffy.scm")
(import spiffy)
(test-begin "spiffy")