diff options
author | Pauli <paul.dale@oracle.com> | 2019-07-26 12:56:01 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-07-29 09:16:22 +1000 |
commit | 7de305510a07729be3cc80a0fb10561732ee4f31 (patch) | |
tree | 46f0bd26df9ee8468d6cb7669f6e71cecd088074 /test/build.info | |
parent | e4a282fe030363a87d52d4a3214eb7490036015e (diff) |
Add weak platform independent PRNG to test framework.
Implement the GNU C library's random(3) pseudorandom number generator.
The algorithm is described: https://www.mscs.dal.ca/~selinger/random/
The rationale is to make the tests repeatable across differing platforms with
different underlying implementations of the random(3) library call.
More specifically: when executing tests with random ordering.
[extended tests]
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9463)
(cherry picked from commit e9a5932d04f6b7dd25b39a8ff9dc162d64a78c22)
Diffstat (limited to 'test/build.info')
-rw-r--r-- | test/build.info | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info index a2fb0e2e1e..1727f28626 100644 --- a/test/build.info +++ b/test/build.info @@ -12,7 +12,8 @@ IF[{- !$disabled{tests} -}] SOURCE[libtestutil.a]=testutil/basic_output.c testutil/output_helpers.c \ testutil/driver.c testutil/tests.c testutil/cb.c testutil/stanza.c \ testutil/format_output.c testutil/tap_bio.c \ - testutil/test_cleanup.c testutil/main.c testutil/init.c + testutil/test_cleanup.c testutil/main.c testutil/init.c \ + testutil/random.c INCLUDE[libtestutil.a]=../include DEPEND[libtestutil.a]=../libcrypto |