summaryrefslogtreecommitdiffstats
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorPaolo Bonzini2019-12-12 02:17:58 +0100
committerThomas Huth2019-12-17 09:05:23 +0100
commit0f555602c7430ae55b5a4bacf39ce9e483e11193 (patch)
tree1a63690a8898b74e3b89a0a77eb4f98c7b0c9fd5 /tests/rtc-test.c
parenttests/Makefile: Fix check-report.* targets shown in check-help (diff)
downloadqemu-0f555602c7430ae55b5a4bacf39ce9e483e11193.tar.gz
qemu-0f555602c7430ae55b5a4bacf39ce9e483e11193.tar.xz
qemu-0f555602c7430ae55b5a4bacf39ce9e483e11193.zip
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 'tests/rtc-test.c')
0 files changed, 0 insertions, 0 deletions