From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCwuD-0007wO-Gd for qemu-devel@nongnu.org; Wed, 28 Mar 2012 13:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCwu7-0006oR-1J for qemu-devel@nongnu.org; Wed, 28 Mar 2012 13:43:33 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:60312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCwu6-0006o8-Pu for qemu-devel@nongnu.org; Wed, 28 Mar 2012 13:43:26 -0400 Received: by obbwd20 with SMTP id wd20so1845783obb.4 for ; Wed, 28 Mar 2012 10:43:24 -0700 (PDT) Message-ID: <4F734DB9.8000409@codemonkey.ws> Date: Wed, 28 Mar 2012 12:43:21 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1332942127-8964-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1332942127-8964-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 0/7] new test infrastructure + qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On 03/28/2012 08:42 AM, Paolo Bonzini wrote: > This is a rebase of qtest. I split the gtester infrastructure into > its own patch, and reorganized the tests by moving everything into > tests/. > > Also, libqtest now has bindings for the clock management commands, and > I am using them in rtc-test. Finally, the accept is moved from qemu to > libqtest; tests need not sleep anymore until QEMU connects. > > This is on top of Luiz's recent pull request. Thanks, I'll process and apply this ASAP. Regards, Anthony Liguori > > Anthony Liguori (4): > qtest: add test framework > qtest: add C version of test infrastructure > rtc: split out macros into a header file and use in test case > qtest: add rtc-test test-case > > Paolo Bonzini (3): > test makefile overhaul > qtest: IRQ interception infrastructure > qtest: add clock management > > Makefile.objs | 2 + > cpu-exec.c | 1 + > cpus.c | 82 ++++- > cpus.h | 2 + > hw/irq.c | 17 + > hw/irq.h | 5 + > hw/mc146818rtc.c | 33 -- > hw/mc146818rtc.h | 3 +- > hw/mc146818rtc_regs.h | 62 +++ > hw/pc_piix.c | 5 +- > osdep.h | 2 + > qemu-common.h | 1 - > qemu-options.hx | 8 + > qemu-timer.c | 2 +- > qemu-timer.h | 1 + > qtest.c | 443 ++++++++++++++++++++ > qtest.h | 35 ++ > rules.mak | 2 +- > scripts/gtester-cat | 26 ++ > scripts/qtest | 5 + > tests/Makefile | 165 ++++++-- > check-qdict.c => tests/check-qdict.c | 0 > check-qfloat.c => tests/check-qfloat.c | 0 > check-qint.c => tests/check-qint.c | 0 > check-qjson.c => tests/check-qjson.c | 0 > check-qlist.c => tests/check-qlist.c | 0 > check-qstring.c => tests/check-qstring.c | 0 > tests/libqtest.c | 385 +++++++++++++++++ > tests/libqtest.h | 333 +++++++++++++++ > tests/rtc-test.c | 263 ++++++++++++ > test-coroutine.c => tests/test-coroutine.c | 0 > test-qmp-commands.c => tests/test-qmp-commands.c | 0 > .../test-qmp-input-strict.c | 0 > .../test-qmp-input-visitor.c | 0 > .../test-qmp-output-visitor.c | 0 > .../test-string-input-visitor.c | 0 > .../test-string-output-visitor.c | 0 > vl.c | 10 +- > 38 files changed, 1806 insertions(+), 87 deletions(-) > create mode 100644 hw/mc146818rtc_regs.h > create mode 100644 qtest.c > create mode 100644 qtest.h > create mode 100755 scripts/gtester-cat > create mode 100755 scripts/qtest > rename check-qdict.c => tests/check-qdict.c (100%) > rename check-qfloat.c => tests/check-qfloat.c (100%) > rename check-qint.c => tests/check-qint.c (100%) > rename check-qjson.c => tests/check-qjson.c (100%) > rename check-qlist.c => tests/check-qlist.c (100%) > rename check-qstring.c => tests/check-qstring.c (100%) > create mode 100644 tests/libqtest.c > create mode 100644 tests/libqtest.h > create mode 100644 tests/rtc-test.c > rename test-coroutine.c => tests/test-coroutine.c (100%) > rename test-qmp-commands.c => tests/test-qmp-commands.c (100%) > rename test-qmp-input-strict.c => tests/test-qmp-input-strict.c (100%) > rename test-qmp-input-visitor.c => tests/test-qmp-input-visitor.c (100%) > rename test-qmp-output-visitor.c => tests/test-qmp-output-visitor.c (100%) > rename test-string-input-visitor.c => tests/test-string-input-visitor.c (100%) > rename test-string-output-visitor.c => tests/test-string-output-visitor.c (100%) >