test what record, ops, sum and match refuse
The diagnostics are what these forms are for -- a match that leaves a variant out is the thing C cannot say -- and until now every one of them was checked by hand and none by the suite. The two registries refuse a second declaration of one name, which is per translation unit and not per process, so semen-process clears them on the way in. sexc compiles one file per process and never noticed; a suite that compiles forty in one did.
This commit is contained in:
@@ -6,7 +6,7 @@ MODULE_FLAGS = -emit-all-import-libraries -module-registration -c
|
||||
MODULES = utils types infer sex-macros reader sex-modules semen sex-fmt-c fmt-c-writer sexc
|
||||
SEX_OBJ = $(MODULES:%=%.o)
|
||||
|
||||
TESTS = basic semen reader fmt-c-writer utils line-directives codegen args types infer
|
||||
TESTS = basic semen reader fmt-c-writer utils line-directives codegen encapsulation args types infer
|
||||
TEST_SRCS = $(TESTS:%=%.scm)
|
||||
|
||||
sex-tests: run.scm $(TEST_SRCS) $(SEX_OBJ)
|
||||
|
||||
Reference in New Issue
Block a user