comparison test/suite_aggrs/config.lua @ 432:167faab0c0be

first usable version of test suite for aggregates, handling only non-nested struct params, at the moment; still missing: - unions - arrays - aggregates as return values
author Tassilo Philipp
date Fri, 21 Jan 2022 15:42:29 +0100
parents
children 3d2c5d156d78
comparison
equal deleted inserted replaced
431:1cb8a65ea27f 432:167faab0c0be
1 -- user config for rand-sig.lua:
2 minargs = 0
3 maxargs = 32
4 maxaggrdepth = 3 -- max nesting depth of aggregates, 1 = no nesting
5 ncases = 400
6 types = "csijlpfd{}"
7 seed = 2108
8
9 -- specify types more than once to increase relative occurance, e.g.:
10
11 -- this favors non-struct args, especially ints (and also increases avg num of struct fields):
12 --types = "ccssiiiiijjllpfd{}"
13
14 -- this heavily favors nested structs:
15 --types = "csijlpfd{{{{{{}"
16
17 -- this heavily favors flat and short/empty structs:
18 --types = "csijlpfd{}}}}}}"