Mercurial > pub > dyncall > dyncall
comparison test/suite_aggrs/config.lua @ 463:bd8f5da2c74b
suite_aggr: added configurable limits to number of struct fields (also simplified allowing (or not) empty ones)
author | Tassilo Philipp |
---|---|
date | Tue, 01 Feb 2022 22:35:08 +0100 |
parents | 653b65580cb4 |
children | 0f3b6898078d |
comparison
equal
deleted
inserted
replaced
462:653b65580cb4 | 463:bd8f5da2c74b |
---|---|
1 -- user config for rand-sig.lua: | 1 -- user config for rand-sig.lua: |
2 minargs = 0 | 2 minargs = 0 |
3 maxargs = 16 | 3 maxargs = 16 |
4 minaggrfields= 0 -- 0 allows for empty structs/unions | |
5 maxaggrfields= 12 | |
4 maxarraylen = 16 -- note some callconvs pass structs via regs, so using big numbers here will reduce those cases | 6 maxarraylen = 16 -- note some callconvs pass structs via regs, so using big numbers here will reduce those cases |
5 arraydice = 40 -- how often to turn a member into an array (1 out of arraydice-times) | 7 arraydice = 40 -- how often to turn a member into an array (1 out of arraydice-times) |
6 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting | 8 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting |
7 emptyaggrs = true -- whether to allow empty aggregates or not | |
8 ncases = 400 | 9 ncases = 400 |
9 types = "csijlpfd{}<>" -- {...} for structs, <...> for unions | 10 types = "csijlpfd{}<>" -- {...} for structs, <...> for unions |
10 seed = 2112 | 11 seed = 2112 |
11 | 12 |
12 -- specify types more than once to increase relative occurance, e.g.: | 13 -- specify types more than once to increase relative occurance, e.g.: |