mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Merge pull request #871 from dpk/fix-syntax-tests
Fix syntax-tests to use mutable-environment
This commit is contained in:
commit
d29657811c
2 changed files with 6 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -269,13 +269,16 @@ test-r5rs: chibi-scheme$(EXE)
|
|||
test-r7rs: chibi-scheme$(EXE)
|
||||
$(CHIBI) tests/r7rs-tests.scm
|
||||
|
||||
test-syntax: chibi-scheme$(EXE)
|
||||
$(CHIBI) tests/syntax-tests.scm
|
||||
|
||||
test: test-r7rs
|
||||
|
||||
test-safe-string-cursors: chibi-scheme$(EXE)
|
||||
$(CHIBI) -Dsafe-string-cursors tests/r7rs-tests.scm
|
||||
$(CHIBI) -Dsafe-string-cursors tests/lib-tests.scm
|
||||
|
||||
test-all: test test-libs test-ffi test-division
|
||||
test-all: test test-syntax test-libs test-ffi test-division
|
||||
|
||||
test-dist: test-all test-memory test-build
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(modules
|
||||
(import (chibi)
|
||||
(only (chibi test) test-begin test test-error test-end)
|
||||
(only (meta) environment)))
|
||||
(only (meta) mutable-environment)))
|
||||
(else #f))
|
||||
|
||||
(test-begin "syntax")
|
||||
|
@ -84,7 +84,7 @@
|
|||
;; this could be fixed in theory)
|
||||
(modules
|
||||
(test-begin "identifier syntax")
|
||||
(define syntax-test-env (environment '(chibi) '(chibi ast)))
|
||||
(define syntax-test-env (mutable-environment '(chibi) '(chibi ast)))
|
||||
|
||||
(eval
|
||||
'(define-syntax low-level-id-macro
|
||||
|
|
Loading…
Add table
Reference in a new issue