Fix mzscheme name and unions testcases

This commit is contained in:
William S Fulton 2019-02-09 18:46:38 +00:00
commit 454c1f1aa4
3 changed files with 5 additions and 5 deletions

View file

@ -61,10 +61,8 @@ valuewrapper_opaque \
FAILING_C_TESTS = \
enums \
integers \
name \
preproc_constants_c \
preproc_line_file \
unions \
FAILING_MULTI_CPP_TESTS = \
multi_import \

View file

@ -1,7 +1,7 @@
;; The SWIG modules have "passive" Linkage, i.e., they don't generate
;; Guile modules (namespaces) but simply put all the bindings into the
;; current module. That's enough for such a simple test.
(load-extension "./name.so")
(load-extension "name.so")
(foo-2)
bar-2

View file

@ -25,13 +25,15 @@
(if (not (= Jill1 200))
(begin
(display "Runtime test 1 failed.")
(exit 1))))
(exit 1))
(void)))
(let ((Num1 (EmbeddedUnionTest-number-get eut)))
(if (not (= Num1 1))
(begin
(display "Runtime test 2 failed.")
(exit 1))))
(exit 1))
(void)))
;; that should do