[Qemu-devel] [PATCH v5 0/3] tests/microbit-test: Add UART device test

Julia Suvorova via Qemu-devel posted 3 patches 6 years, 9 months ago
Failed in applying to current master (apply log)
tests/libqtest.c      |  25 ++++
tests/libqtest.h      |  11 ++
tests/microbit-test.c | 336 +++++++++++++++++++++++++++---------------
3 files changed, 254 insertions(+), 118 deletions(-)
[Qemu-devel] [PATCH v5 0/3] tests/microbit-test: Add UART device test
Posted by Julia Suvorova via Qemu-devel 6 years, 9 months ago
v5:
    * Replace g_assert with g_assert_* [Thomas, Alex]
    * Increase the waiting time for an event [Thomas]
    * Remove 'nowait' [Thomas]
    * Rewrite uart_wait_for_event to use time difference instead of loop
v4:
    * Replace sprintf with g_strdup_printf [Peter]
    * Move socket connection to qtest library [Peter]
    * Use memcmp instead of strcmp [Stefan]
    * Remove using global_qtest [Thomas]
v3:
    * Fix directory leak [Stefan]

Based-on: <20190110094020.18354-1-stefanha@redhat.com>

Julia Suvorova (3):
  tests/libqtest: Introduce qtest_init_with_serial()
  tests/microbit-test: Make test independent of global_qtest
  tests/microbit-test: Check nRF51 UART functionality

 tests/libqtest.c      |  25 ++++
 tests/libqtest.h      |  11 ++
 tests/microbit-test.c | 336 +++++++++++++++++++++++++++---------------
 3 files changed, 254 insertions(+), 118 deletions(-)

-- 
2.17.1


Re: [Qemu-devel] [PATCH v5 0/3] tests/microbit-test: Add UART device test
Posted by Peter Maydell 6 years, 9 months ago
On Wed, 23 Jan 2019 at 12:08, Julia Suvorova <jusual@mail.ru> wrote:
>
> v5:
>     * Replace g_assert with g_assert_* [Thomas, Alex]
>     * Increase the waiting time for an event [Thomas]
>     * Remove 'nowait' [Thomas]
>     * Rewrite uart_wait_for_event to use time difference instead of loop
> v4:
>     * Replace sprintf with g_strdup_printf [Peter]
>     * Move socket connection to qtest library [Peter]
>     * Use memcmp instead of strcmp [Stefan]
>     * Remove using global_qtest [Thomas]
> v3:
>     * Fix directory leak [Stefan]
>
> Based-on: <20190110094020.18354-1-stefanha@redhat.com>



Applied to target-arm.next, thanks.

-- PMM