From patchwork Tue Sep 6 16:44:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 113633 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F368FB6F76 for ; Wed, 7 Sep 2011 03:29:53 +1000 (EST) Received: from localhost ([::1]:55482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0zT5-0000DZ-D3 for incoming@patchwork.ozlabs.org; Tue, 06 Sep 2011 13:29:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0zT0-0000CJ-Rr for qemu-devel@nongnu.org; Tue, 06 Sep 2011 13:29:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0zSz-0002SL-Ve for qemu-devel@nongnu.org; Tue, 06 Sep 2011 13:29:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0zSz-0002SE-Hg for qemu-devel@nongnu.org; Tue, 06 Sep 2011 13:29:45 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p86HTXV7026167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Sep 2011 13:29:44 -0400 Received: from localhost (ovpn-113-32.phx2.redhat.com [10.3.113.32]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p86GigAq026949; Tue, 6 Sep 2011 12:44:43 -0400 From: Luiz Capitulino To: aliguori@us.ibm.com Date: Tue, 6 Sep 2011 13:44:33 -0300 Message-Id: <1315327474-2202-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1315327474-2202-1-git-send-email-lcapitulino@redhat.com> References: <1315327474-2202-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 1/2] configure: Copy test data to build directory X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The QDict unit-tests (check-qdict) will fail when ran on a different build directory. That's, it only works when ran on the source dir. This happens because its data file (qdict-test-data.txt) is not copied to the build dir. Fix it. Signed-off-by: Luiz Capitulino --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index c3044c7..fe3147b 100755 --- a/configure +++ b/configure @@ -3614,7 +3614,7 @@ DIRS="$DIRS roms/seabios roms/vgabios" DIRS="$DIRS fsdev ui" DIRS="$DIRS qapi" DIRS="$DIRS qga trace" -FILES="Makefile tests/Makefile" +FILES="Makefile tests/Makefile qdict-test-data.txt" FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit" FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps" FILES="$FILES pc-bios/spapr-rtas/Makefile"