[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test |
Date: |
Fri, 02 Dec 2011 18:25:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
Am 01.12.2011 19:43, schrieb Anthony Liguori:
> ---
> Makefile | 4 +
> rtc-test.c | 201
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 205 insertions(+), 0 deletions(-)
> create mode 100644 rtc-test.c
>
> diff --git a/Makefile b/Makefile
> index 301c75e..838cb01 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -215,6 +215,10 @@ $(qga-obj-y) qemu-ga.o: $(QGALIB_GEN)
> $(GENERATED_HEADERS)
>
> qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(qapi-obj-y) $(tools-obj-y)
> $(qobject-obj-y) $(version-obj-y) $(QGALIB_OBJ)
>
> +libqtest.o: libqtest.c
Did you forget to commit libqtest.c?
I think your series is a good start, but the examples only use port I/O.
Most other tests would probably need to access RAM (not sure if it's
convenient to do explicit read/write commands for that), interrupts and
some even QMP.
Should the framework and the tests live in the tests/ directory?
Kevin
- [Qemu-devel] [RFC v2 0/6] qtest unit test framework, Anthony Liguori, 2011/12/01
- [Qemu-devel] [RFC v2 4/6] Add uart test case, Anthony Liguori, 2011/12/01
- [Qemu-devel] [RFC v2 2/6] qtest: add support for target-i386 -M pc, Anthony Liguori, 2011/12/01
- [Qemu-devel] [RFC v2 3/6] Add core python test framework, Anthony Liguori, 2011/12/01
- [Qemu-devel] [RFC v2 5/6] Add RTC test case, Anthony Liguori, 2011/12/01
- [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Anthony Liguori, 2011/12/01
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test,
Kevin Wolf <=
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Anthony Liguori, 2011/12/02
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Kevin Wolf, 2011/12/02
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Luiz Capitulino, 2011/12/02
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Anthony Liguori, 2011/12/02
- Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test, Kevin Wolf, 2011/12/05
[Qemu-devel] [RFC v2 1/6] qtest: add test framework, Anthony Liguori, 2011/12/01
Re: [Qemu-devel] [RFC v2 0/6] qtest unit test framework, Dor Laor, 2011/12/04