[functional-tests] start a trivial (disk-units) library
This commit is contained in:
parent
ccd89d32da
commit
78cb2570a3
6
functional-tests/disk-units.scm
Normal file
6
functional-tests/disk-units.scm
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
(library
|
||||||
|
(disk-units)
|
||||||
|
(export meg)
|
||||||
|
(import (rnrs))
|
||||||
|
|
||||||
|
(define (meg n) (* 1024 1024 n)))
|
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
(import
|
(import
|
||||||
(chezscheme)
|
(chezscheme)
|
||||||
|
(disk-units)
|
||||||
(fmt fmt)
|
(fmt fmt)
|
||||||
(functional-tests)
|
(functional-tests)
|
||||||
(process)
|
(process)
|
||||||
@ -20,10 +21,6 @@
|
|||||||
(define-tool thin-restore)
|
(define-tool thin-restore)
|
||||||
(define-tool thin-rmap)
|
(define-tool thin-rmap)
|
||||||
|
|
||||||
;; FIXME: start a disk units library
|
|
||||||
(define (meg n)
|
|
||||||
(* 1024 1024 n))
|
|
||||||
|
|
||||||
(define-syntax with-thin-xml
|
(define-syntax with-thin-xml
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((_ (v) b1 b2 ...)
|
((_ (v) b1 b2 ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user