diff test/call_suite_aggrs/config.lua @ 519:99819b874bac

test/call_suite_aggrs: - refactored generator code a bit to be simpler, write cleaner output, have better shareability and clarity - added rtypes w/ default value nil to config.lua, to self document - shared some code under test/common/ - fixed nonemptyaggrs sigs and cases.h (accidentally overwritten with cases having empty aggrs)
author Tassilo Philipp
date Mon, 11 Apr 2022 22:26:07 +0200
parents c9c546f8598b
children a2de1d0a73f3
line wrap: on
line diff
--- a/test/call_suite_aggrs/config.lua	Mon Apr 11 15:06:44 2022 +0200
+++ b/test/call_suite_aggrs/config.lua	Mon Apr 11 22:26:07 2022 +0200
@@ -8,7 +8,8 @@
 maxaggrdepth = 3    -- max nesting depth of aggregates, 1 = no nesting
 reqaggrinsig = true -- require that every generated signature has at least one aggregate
 ncases       = 400
-types        = "BcsijlCSIJLpfd{}<>"  -- {...} for structs, <...> for unions
+types        = "BcsijlCSIJLpfd{}<>"  -- types to use; use '{','}' for structs, '<','>' for unions
+rtypes       = nil                   -- supported return types (set to nil to use "v"..types)
 seed         = 2112
 
 -- *) note some callconvs pass structs via regs, so using big numbers here will