changeset 431:1cb8a65ea27f

- test/call_suite: made seed configurable
author Tassilo Philipp
date Mon, 17 Jan 2022 17:35:21 +0100
parents 8e22b70d3ee4
children 167faab0c0be
files test/call_suite/config.lua test/call_suite/rand-sig.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/call_suite/config.lua	Mon Jan 17 15:46:38 2022 +0100
+++ b/test/call_suite/config.lua	Mon Jan 17 17:35:21 2022 +0100
@@ -3,4 +3,5 @@
 maxargs  = 64
 ncases   = 400
 types    = "csijlpfd"
+seed     = 2342
 
--- a/test/call_suite/rand-sig.lua	Mon Jan 17 15:46:38 2022 +0100
+++ b/test/call_suite/rand-sig.lua	Mon Jan 17 17:35:21 2022 +0100
@@ -2,8 +2,7 @@
 
 rtypes   = "v"..types
 
-math.randomseed(2342)
-local sigs = { }
+math.randomseed(seed)
 local id
 for i = 1, ncases do
   id = math.random(#rtypes)