]> xenbits.xensource.com Git - qemu-xen.git/commit
tests/qtest/npcm7xx_rng-test: dump random data on failure
authorHavard Skinnemoen <hskinnemoen@google.com>
Tue, 3 Nov 2020 01:14:57 +0000 (17:14 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Dec 2020 11:30:44 +0000 (11:30 +0000)
commit1af979b492e2008578ecf3a7940f4ebd7118af15
tree9bc81a5a48e22dae2db2406dbc708d30f6c395f8
parentce3adffc3c56b30b54eb712ff92889e87e7f30f0
tests/qtest/npcm7xx_rng-test: dump random data on failure

Dump the collected random data after a randomness test failure.

Note that this relies on the test having called
g_test_set_nonfatal_assertions() so we don't abort immediately on the
assertion failure.

Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: minor commit message tweak]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/npcm7xx_rng-test.c