aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-12-12 02:17:58 +0100
committerThomas Huth <thuth@redhat.com>2019-12-17 09:05:23 +0100
commit0f555602c7430ae55b5a4bacf39ce9e483e11193 (patch)
tree1a63690a8898b74e3b89a0a77eb4f98c7b0c9fd5 /contrib
parentc3088cd306caf965f1901e0a9ed818353c530b4e (diff)
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 <pbonzini@redhat.com> Message-Id: <1576113478-42926-1-git-send-email-pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions