diff test/suite_aggrs/config.lua @ 463:bd8f5da2c74b

suite_aggr: added configurable limits to number of struct fields (also simplified allowing (or not) empty ones)
author Tassilo Philipp
date Tue, 01 Feb 2022 22:35:08 +0100
parents 653b65580cb4
children 0f3b6898078d
line wrap: on
line diff
--- a/test/suite_aggrs/config.lua	Tue Feb 01 21:44:18 2022 +0100
+++ b/test/suite_aggrs/config.lua	Tue Feb 01 22:35:08 2022 +0100
@@ -1,10 +1,11 @@
 -- user config for rand-sig.lua:
 minargs      = 0
 maxargs      = 16
+minaggrfields= 0    -- 0 allows for empty structs/unions
+maxaggrfields= 12
 maxarraylen  = 16   -- note some callconvs pass structs via regs, so using big numbers here will reduce those cases
 arraydice    = 40   -- how often to turn a member into an array (1 out of arraydice-times)
 maxaggrdepth = 3    -- max nesting depth of aggregates, 1 = no nesting
-emptyaggrs   = true -- whether to allow empty aggregates or not
 ncases       = 400
 types        = "csijlpfd{}<>"  -- {...} for structs, <...> for unions
 seed         = 2112