tests/microbit-test: Make test independent of global_qtest
commit7cf19e7352fc213011d5a051535b28ec696e02d1
authorJulia Suvorova <jusual@mail.ru>
Tue, 29 Jan 2019 11:46:04 +0000 (29 11:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jan 2019 11:46:04 +0000 (29 11:46 +0000)
tree3c2fe30bbc752a0c8e149ffea6ff1200c7de37e9
parent6c90a82c9358c77017b94d67c1a3fa24e0500e07
tests/microbit-test: Make test independent of global_qtest

Using of global_qtest is not required here. Let's replace functions like
readl() with the corresponding qtest_* counterparts.

Signed-off-by: Julia Suvorova <jusual@mail.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190123120759.7162-3-jusual@mail.ru
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/microbit-test.c