From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrQE-0001JJ-Ah for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:41:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDrQ7-0006xM-HO for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:41:10 -0400 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrQ7-0006wp-9X for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:41:03 -0400 Received: by mail-ea0-f170.google.com with SMTP id h14so1421616eak.29 for ; Mon, 26 Aug 2013 00:41:02 -0700 (PDT) Date: Mon, 26 Aug 2013 09:40:59 +0200 From: Stefan Hajnoczi Message-ID: <20130826074059.GA28566@stefanha-thinkpad.redhat.com> References: <1376042521-12293-1-git-send-email-famz@redhat.com> <20130822113810.GA27613@stefanha-thinkpad.redhat.com> <5216C641.5020106@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5216C641.5020106@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v5 0/8] Implement reference count for BlockDriverState [resend] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: kwolf@redhat.com, Fam Zheng , jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, pbonzini@redhat.com On Fri, Aug 23, 2013 at 10:17:37AM +0800, Wenchao Xia wrote: > What is the correct steps to run full qemu-iotests? > I modified qemu-iotests-quick.sh as: > > #!/bin/sh > > # We don't know which of the system emulator binaries there is (or > if there is > # any at all), so the 'quick' group doesn't contain any tests that require > # running qemu proper. Assign a fake binary name so that > qemu-iotests doesn't > # complain about the missing binary. > export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64" > > export QEMU_IMG_PROG="$(pwd)/qemu-img" > export QEMU_IO_PROG="$(pwd)/qemu-io" > export QEMU_NBD_PROG="$(pwd)/qemu-nbd" > > cd $SRC_PATH/tests/qemu-iotests > > ret=0 > ./check -T -nocache -qcow2 || ret=1 > > exit $ret > > Then make check-block, 026 038 fail, 038 sometimes fail. > The code from is upstream, host is RH6.3 @ x86_64. Do I missed some > steps? You are running it correctly. There are a couple of known failures in qemu-iotests. It would be good to fix them but no one has posted patches so far. If in doubt, run qemu-iotests on qemu.git/master to see which tests are known failures. Stefan