boot: fix builtin? tests.
* tests/scm.test: Test primitives, not eval.
This commit is contained in:
parent
2545605a69
commit
497bbdc76f
|
@ -118,9 +118,13 @@ exit $?
|
|||
;; (display ((lambda (x) x) (values 1 2 3)))
|
||||
;; (newline)))
|
||||
|
||||
(pass-if "builtin?" (builtin? car))
|
||||
(pass-if "builtin?" (not (builtin? not)))
|
||||
;;(pass-if "builtin?" (builtin? cond))
|
||||
(pass-if "builtin? car" (builtin? car))
|
||||
(pass-if "builtin? cdr" (builtin? cdr))
|
||||
(pass-if "builtin? cons" (builtin? cons))
|
||||
(pass-if "builtin? eq?" (builtin? eq?))
|
||||
(pass-if "builtin? if" (builtin? eq?))
|
||||
(when (not guile?)
|
||||
(pass-if "builtin? eval" (not (builtin? not))))
|
||||
(pass-if "procedure?" (procedure? builtin?))
|
||||
(pass-if "procedure?" (procedure? procedure?))
|
||||
(when (not guile?)
|
||||
|
|
Loading…
Reference in a new issue