]> Git Repo - qemu.git/commit
tests: use g_test_rand_int
authorPaolo Bonzini <[email protected]>
Thu, 12 Dec 2019 01:17:58 +0000 (02:17 +0100)
committerThomas Huth <[email protected]>
Tue, 17 Dec 2019 08:05:23 +0000 (09:05 +0100)
commit0f555602c7430ae55b5a4bacf39ce9e483e11193
tree1a63690a8898b74e3b89a0a77eb4f98c7b0c9fd5
parentc3088cd306caf965f1901e0a9ed818353c530b4e
tests: use g_test_rand_int

g_test_rand_int provides a reproducible random integer number, using a
different number seed every time but allowing reproduction using the
--seed command line option.  It is thus better suited to tests than
g_random_int or random.

Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <1576113478[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
tests/ivshmem-test.c
tests/test-bitmap.c
tests/test-qga.c
This page took 0.025511 seconds and 4 git commands to generate.