view test/suite_aggrs/config.lua @ 433:45662241d9cd

suite_aggrs now handling struct by value return types, also still missing: nesting, unions, arrays note: this doesn't compile against this same checked in revision of dyncall, but only my working copy; a future checkin will catch up
author Tassilo Philipp
date Sat, 22 Jan 2022 16:07:57 +0100
parents 167faab0c0be
children 3d2c5d156d78
line wrap: on
line source

-- user config for rand-sig.lua:
minargs      = 0
maxargs      = 32
maxaggrdepth = 3    -- max nesting depth of aggregates, 1 = no nesting
ncases       = 400
types        = "csijlpfd{}"
seed         = 2108

-- specify types more than once to increase relative occurance, e.g.:

-- this favors non-struct args, especially ints (and also increases avg num of struct fields):
--types       = "ccssiiiiijjllpfd{}"

-- this heavily favors nested structs:
--types       = "csijlpfd{{{{{{}"

-- this heavily favors flat and short/empty structs:
--types       = "csijlpfd{}}}}}}"