emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.91k stars 3.32k forks source link

[test] Avoid seeding random number generators with time. NFC #23050

Open sbc100 opened 1 day ago

sbc100 commented 1 day ago

Using the current time to seed the random number generator in tests will make them non-determinisitic. Simply using the default seed or seeding with a fixed value seem fine all of these test cases.