Use a fresh random state for randomized tests.
authorTaylor R Campbell <campbell@mumble.net>
Wed, 7 Nov 2018 16:00:48 +0000 (16:00 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 7 Nov 2018 16:00:48 +0000 (16:00 +0000)
tests/runtime/test-random.scm

index af5640f0a2511f442e0171b13c91fdc101be95ac..d68aa828661ff5854c2dba66e9d1d29ba85e9a47 100644 (file)
@@ -56,7 +56,7 @@ USA.
     (lambda ()
       ;; XXX Should make the seed more compact than just the original
       ;; complete state.
-      (let ((state (make-random-state)))
+      (let ((state (make-random-state #t)))
        (with-test-properties
            (lambda ()
              ;; Ensure we don't accidentally use the global state.