diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/suite_aggrs/config.lua	Fri Jan 21 15:42:29 2022 +0100
@@ -0,0 +1,18 @@
+-- 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{}}}}}}"