mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
cov-test-determinism: use the same RNG seed as in travis.yml
We added this facility so that we could get deterministic PRNG behavior for coverage testing on tests that use a replaced PRNG. We need to have our coverage determinism tool test for this as well.
This commit is contained in:
parent
07ccffa989
commit
7893f2cd73
@ -25,6 +25,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$run" = 1; then
|
if test "$run" = 1; then
|
||||||
|
# same seed as in travis.yml
|
||||||
|
TOR_TEST_RNG_SEED="636f766572616765"
|
||||||
|
export TOR_TEST_RNG_SEED
|
||||||
while true; do
|
while true; do
|
||||||
make reset-gcov
|
make reset-gcov
|
||||||
CD=coverage-raw/coverage-$(date +%s)
|
CD=coverage-raw/coverage-$(date +%s)
|
||||||
|
Loading…
Reference in New Issue
Block a user