Mercurial > pub > dyncall > dyncall
comparison test/call_suite_aggrs/config.lua @ 519:99819b874bac
test/call_suite_aggrs:
- refactored generator code a bit to be simpler, write cleaner output, have better shareability and clarity
- added rtypes w/ default value nil to config.lua, to self document
- shared some code under test/common/
- fixed nonemptyaggrs sigs and cases.h (accidentally overwritten with cases having empty aggrs)
author | Tassilo Philipp |
---|---|
date | Mon, 11 Apr 2022 22:26:07 +0200 |
parents | c9c546f8598b |
children | a2de1d0a73f3 |
comparison
equal
deleted
inserted
replaced
518:a0ff5dff090b | 519:99819b874bac |
---|---|
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 = "BcsijlCSIJLpfd{}<>" -- {...} for structs, <...> for unions | 11 types = "BcsijlCSIJLpfd{}<>" -- types to use; use '{','}' for structs, '<','>' for unions |
12 rtypes = nil -- supported return types (set to nil to use "v"..types) | |
12 seed = 2112 | 13 seed = 2112 |
13 | 14 |
14 -- *) note some callconvs pass structs via regs, so using big numbers here will | 15 -- *) 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 | 16 -- reduce those cases; however special alignment rules are specified in some |
16 -- ABIs for bigger arrays, which is also worth testing | 17 -- ABIs for bigger arrays, which is also worth testing |