From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYOv6-00043F-HY for qemu-devel@nongnu.org; Thu, 20 Jul 2017 23:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYOv5-0002QV-T0 for qemu-devel@nongnu.org; Thu, 20 Jul 2017 23:48:04 -0400 From: Cleber Rosa Date: Thu, 20 Jul 2017 23:47:27 -0400 Message-Id: <20170721034730.25612-1-crosa@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] build configuration query tool and conditional (qemu-io)test skip List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Max Reitz , Kevin Wolf , John Snow , Jing Liu , Eric Blake This is a follow up to a previous discussion about reported failures when running some qemu-iotests. Turns out the failures were due to missing libraries, which in turn, reflected on the host build configuration. This series introduces a tool that can check both host and target level build configurations. On top of that, it adds a function to to be used on qemu-iotests. Finally, as an example, it sets a test to be skipped if the required feature is not enable on the host build configuration. Cleber Rosa (3): scripts: introduce buildconf.py qemu-iotests: add _require_feature() function qemu-iotests: require CONFIG_LINUX_AIO for test 087 scripts/buildconf.py | 278 +++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/087 | 1 + tests/qemu-iotests/check | 2 + tests/qemu-iotests/common.rc | 7 ++ 4 files changed, 288 insertions(+)