Disabling FFI integer overflow tests on 32-bit systems.

This commit is contained in:
Alex Shinn 2015-01-17 19:06:52 +09:00
parent f1d66c582f
commit 8e4d4889c3

View file

@ -66,6 +66,8 @@ int sub(int x, int y) {
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; More detailed tests on integer conversions and overflow. ;; More detailed tests on integer conversions and overflow.
(cond
((fixnum? (expt 2 60))
(test-ffi (test-ffi
"integers" "integers"
(begin (begin
@ -106,7 +108,7 @@ enum suuji tasu(enum suuji a, enum suuji b) {
(test #t (ponyo #f)) (test #t (ponyo #f))
;; int types ;; int types
(test 5 (tasu 2 3)) (test 5 (tasu 2 3))
) )))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; String passing, returning and mutation. ;; String passing, returning and mutation.