Mercurial > pub > dyncall > dyncall
comparison test/suite_aggrs/config.lua @ 461:236015fdf7a8
suite_aggrs:
- added support to gen unions in addition to structs
- regenerated struct/union-mixed and nested cases
- made rand-sig.lua ignore closing struct/union chars if not opened, effectively reducing number of empty aggregates as it now generated way too much
author | Tassilo Philipp |
---|---|
date | Mon, 31 Jan 2022 14:41:11 +0100 |
parents | c497b87552f6 |
children | 653b65580cb4 |
comparison
equal
deleted
inserted
replaced
460:0ae555528709 | 461:236015fdf7a8 |
---|---|
2 minargs = 0 | 2 minargs = 0 |
3 maxargs = 16 | 3 maxargs = 16 |
4 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting | 4 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting |
5 emptyaggrs = true -- whether to allow empty aggregates or not | 5 emptyaggrs = true -- whether to allow empty aggregates or not |
6 ncases = 400 | 6 ncases = 400 |
7 types = "csijlpfd{}" | 7 types = "csijlpfd{}<>" -- {...} for structs, <...> for unions |
8 seed = 2112 | 8 seed = 2112 |
9 | 9 |
10 -- specify types more than once to increase relative occurance, e.g.: | 10 -- specify types more than once to increase relative occurance, e.g.: |
11 | 11 |
12 -- this favors non-struct args, especially ints (and also increases avg num of struct fields): | 12 -- this favors non-aggregate args, especially ints (and also increases avg num of aggregate fields): |
13 --types = "ccssiiiiijjllpfd{}" | 13 --types = "ccssiiiiijjllpfd{}" |
14 | 14 |
15 -- this heavily favors nested structs: | 15 -- this heavily favors nested structs, while not having any union: |
16 --types = "csijlpfd{{{{{{}" | 16 --types = "csijlpfd{{{{{{}" |
17 | 17 |
18 -- this heavily favors flat and short/empty structs: | 18 -- this heavily favors flat and short/empty aggregates: |
19 --types = "csijlpfd{}}}}}}" | 19 --types = "csijlpfd{}}}}}}<>>>>>" |