| 1 |
Description: Change the seed for the random number generator |
| 2 |
This is necessary, otherwise the unit test |
| 3 |
dwtest/test_Sound_voiceActivity.praat fails. |
| 4 |
Author: Rafael Laboissière <[email protected]> |
| 5 |
Forwarded: not-needed |
| 6 |
Last-Update: 2025-09-05 |
| 7 |
|
| 8 |
--- praat-6.1.47.orig/dwtest/runAllTests_batch.praat |
| 9 |
+++ praat-6.1.47/dwtest/runAllTests_batch.praat |
| 10 |
@@ -46,7 +46,7 @@ for file to numberOfFiles |
| 11 |
# Also make sure that the random seed is the same |
| 12 |
# for the other two "runAlltests" scripts. |
| 13 |
# |
| 14 |
|
| 15 |
+ random_initializeWithSeedUnsafelyButPredictably (5490) |
| 16 |
Debug multi-threading: "yes", 8, 0, "no" |
| 17 |
runScript: file$ |
| 18 |
endif |