summaryrefslogtreecommitdiff
path: root/tests/run.scm
diff options
context:
space:
mode:
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")