From patchwork Sat Apr 20 10:00:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10910117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6168414DB for ; Sat, 20 Apr 2019 10:06:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5305D28D59 for ; Sat, 20 Apr 2019 10:06:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4727928DAE; Sat, 20 Apr 2019 10:06:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F2BF928D59 for ; Sat, 20 Apr 2019 10:06:05 +0000 (UTC) Received: from localhost ([127.0.0.1]:39438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHmsn-0002PB-5S for patchwork-qemu-devel@patchwork.kernel.org; Sat, 20 Apr 2019 06:06:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHmrH-000119-V2 for qemu-devel@nongnu.org; Sat, 20 Apr 2019 06:04:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHmoE-00058i-JL for qemu-devel@nongnu.org; Sat, 20 Apr 2019 06:01:23 -0400 Received: from m12-14.163.com ([220.181.12.14]:59355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHmoD-00055m-W7 for qemu-devel@nongnu.org; Sat, 20 Apr 2019 06:01:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=cqEpHhNRxPDIohSJzA C5BYc20j5rmB0Wfqi4GDH+U9Y=; b=P2qua9aN8j6D/LE/uWU/ltTvlAsq6P4i3V gzkm38LlGiSJX6ag+/7jE0ZnU+SzGJbdLbAkdph/zWIZM11Um0mSYfZsh7mN8OLv rvRzXZ+Sy0KrGyfcuJ00EnPOhjg/SoF2Dg5JQQijbCq8DJfOHBtdd6Kp5aE8iGE8 PZI2G53NI= Received: from localhost.localdomain (unknown [183.159.69.175]) by smtp10 (Coremail) with SMTP id DsCowACHzxnk7bpcMStGBQ--.39886S2; Sat, 20 Apr 2019 18:01:09 +0800 (CST) From: Li Qiang To: thuth@redhat.com, lvivier@redhat.com, pbonzini@redhat.com, philmd@redhat.com, lersek@redhat.com, kraxel@redhat.com Date: Sat, 20 Apr 2019 03:00:52 -0700 Message-Id: <20190420100056.116305-1-liq3ea@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: DsCowACHzxnk7bpcMStGBQ--.39886S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruw13Wr43GFy7tw43Kw4rXwb_yoW3twb_WF 1xA3s8Jw4DZFZ8Jay7Jw45tFyUZFWxCr1rJF1qgFn2krW7Ar1DJFs2grykGry3Cr1Y9rnx KwsrGry0ywn8ZjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8m-e5UUUUU== X-Originating-IP: [183.159.69.175] X-CM-SenderInfo: 5oltjvrd6rljoofrz/1tbiFBucbVaD0T393gAAsk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 220.181.12.14 Subject: [Qemu-devel] [PATCH 0/4] fw_cfg_test refactor and add two test cases X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Qiang , liq3ea@gmail.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP In the disscuss of adding reboot timeout test case: https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg03304.html Philippe suggested we should uses the only related option for one specific test. However currently we uses one QTestState for all the test cases. In order to achieve Philippe's idea, I split the test case for its own QTestState. As this patchset has changed a lot, I don't bump the version. Li Qiang (4): tests: refactor fw_cfg_test tests: fw_cfg: add a function to get the fw_cfg file tests: fw_cfg: add reboot_timeout test case tests: fw_cfg: add splash time test case tests/fw_cfg-test.c | 122 +++++++++++++++++++++++++++++++++++++++--- tests/libqos/fw_cfg.c | 55 +++++++++++++++++++ tests/libqos/fw_cfg.h | 9 ++++ 3 files changed, 178 insertions(+), 8 deletions(-)