(cond-expand
 (modules (import (chibi test)))
 (else (load "tests/r5rs-tests.scm")))

(test-begin "libraries")

(load "tests/flonum-tests.scm")
(load "tests/numeric-tests.scm")
(load "tests/loop-tests.scm")
(load "tests/match-tests.scm")
(load "tests/scribble-tests.scm")
(cond-expand (full-unicode (load "tests/unicode-tests.scm")) (else #f))

(cond-expand
 (modules
  (load "tests/record-tests.scm")
  (load "tests/hash-tests.scm")
  (load "tests/sort-tests.scm")
  (load "tests/io-tests.scm")
  (load "tests/process-tests.scm")
  (load "tests/system-tests.scm"))
 (else #f))

(cond-expand
 ((and modules threads)
  (load "tests/thread-tests.scm"))
 (else #f))

(test-end)