view test/suite_aggrs/config.lua @ 457:90b1d927912a

- suite_aggrs: make sure random memory used doesn't ever result in NaN fp values (for every possible address), as this messes with result comparison
author Tassilo Philipp
date Fri, 28 Jan 2022 14:11:21 +0100
parents c497b87552f6
children 236015fdf7a8
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
emptyaggrs   = true -- whether to allow empty aggregates or not
ncases       = 400
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{}}}}}}"