view test/suite_aggrs/config.lua @ 434:3d2c5d156d78

- test/suite_aggrs: support for nested structs, now
author Tassilo Philipp
date Sun, 23 Jan 2022 23:20:02 +0100
parents 167faab0c0be
children 54c1dc2e6ea5
line wrap: on
line source

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

-- 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{}}}}}}"