projects
/
scheme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of lukelau.me:/srv/git/scheme
[scheme.git]
/
tests.scm
diff --git
a/tests.scm
b/tests.scm
index 168cf6613d4559b6403c97af1a858e35405eed3f..89ca852986f7e921f7a54e1153edc9be0be2f33c 100644
(file)
--- a/
tests.scm
+++ b/
tests.scm
@@
-19,13
+19,13
@@
(define (test-prog prog exit-code)
(display prog)
(newline)
(define (test-prog prog exit-code)
(display prog)
(newline)
- (compile-to-binary prog "/tmp/test-prog")
+ (compile-to-binary prog "/tmp/test-prog"
'darwin
)
(test (system "/tmp/test-prog") exit-code))
(define (test-prog-stdout prog output)
(display prog)
(newline)
(test (system "/tmp/test-prog") exit-code))
(define (test-prog-stdout prog output)
(display prog)
(newline)
- (compile-to-binary prog "/tmp/test-prog")
+ (compile-to-binary prog "/tmp/test-prog"
'darwin
)
(system "/tmp/test-prog > /tmp/test-output.txt")
(let ((str (read-file "/tmp/test-output.txt")))
(test str output)))
(system "/tmp/test-prog > /tmp/test-output.txt")
(let ((str (read-file "/tmp/test-output.txt")))
(test str output)))