Mercurial > pub > dyncall > dyncall
comparison test/call_suite_aggrs/config.lua @ 515:c9c546f8598b
- added _Bool type to call_suite* tests
author | Tassilo Philipp |
---|---|
date | Sun, 10 Apr 2022 21:05:33 +0200 |
parents | a4ed1564024a |
children | 99819b874bac |
comparison
equal
deleted
inserted
replaced
514:01f928eb9584 | 515:c9c546f8598b |
---|---|
6 maxarraylen = 16 -- see *) | 6 maxarraylen = 16 -- see *) |
7 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) |
8 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting | 8 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting |
9 reqaggrinsig = true -- require that every generated signature has at least one aggregate | 9 reqaggrinsig = true -- require that every generated signature has at least one aggregate |
10 ncases = 400 | 10 ncases = 400 |
11 types = "csijlCSIJLpfd{}<>" -- {...} for structs, <...> for unions | 11 types = "BcsijlCSIJLpfd{}<>" -- {...} for structs, <...> for unions |
12 seed = 2112 | 12 seed = 2112 |
13 | 13 |
14 -- *) note some callconvs pass structs via regs, so using big numbers here will | 14 -- *) note some callconvs pass structs via regs, so using big numbers here will |
15 -- reduce those cases; however special alignment rules are specified in some | 15 -- reduce those cases; however special alignment rules are specified in some |
16 -- ABIs for bigger arrays, which is also worth testing | 16 -- ABIs for bigger arrays, which is also worth testing |
18 | 18 |
19 | 19 |
20 -- Notes: specify types more than once to increase relative occurance, e.g.: | 20 -- Notes: specify types more than once to increase relative occurance, e.g.: |
21 | 21 |
22 -- this favors non-aggregate args, especially ints (and also increases avg num of aggregate fields): | 22 -- this favors non-aggregate args, especially ints (and also increases avg num of aggregate fields): |
23 --types = "ccssiiiiijjllpfd{}" | 23 --types = "Bccssiiiiijjllpfd{}" |
24 | 24 |
25 -- this heavily favors nested structs, while not having any union: | 25 -- this heavily favors nested structs, while not having any union: |
26 --types = "csijlpfd{{{{{{}" | 26 --types = "Bcsijlpfd{{{{{{}" |
27 | 27 |
28 -- this heavily favors flat and short/empty aggregates: | 28 -- this heavily favors flat and short/empty aggregates: |
29 --types = "csijlpfd{}}}}}}<>>>>>" | 29 --types = "Bcsijlpfd{}}}}}}<>>>>>" |
30 | 30 |
31 | 31 |
32 | 32 |
33 -- user config for mk-cases.lua | 33 -- user config for mk-cases.lua |
34 | 34 |