summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_tests.py')
-rw-r--r--test/run_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_tests.py b/test/run_tests.py
index d86356f17b6..d52209d82b3 100644
--- a/test/run_tests.py
+++ b/test/run_tests.py
@@ -732,6 +732,11 @@ def parse_digit_env(env_var, default):
if __name__ == '__main__':
+ if "RND_SEED" not in os.environ:
+ os.environ["RND_SEED"] = str(time.time())
+ print("Setting RND_SEED=%s" % os.environ["RND_SEED"])
+ else:
+ print("Using provided RND_SEED=%s" % os.environ["RND_SEED"])
verbose = parse_digit_env("V", 0)
test_timeout = parse_digit_env("TIMEOUT", 600) # default = 10 minutes