From patchwork Tue Jan 15 08:49:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 212033 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 28E222C00A5 for ; Tue, 15 Jan 2013 19:51:09 +1100 (EST) Received: from localhost ([::1]:45494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv2Ed-0001se-8b for incoming@patchwork.ozlabs.org; Tue, 15 Jan 2013 03:51:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv2EP-0001sE-Ni for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:50:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv2EO-0007Rf-C9 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:50:53 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:48844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv2EO-0007RY-5B for qemu-devel@nongnu.org; Tue, 15 Jan 2013 03:50:52 -0500 Received: by mail-wi0-f175.google.com with SMTP id hm11so2043933wib.14 for ; Tue, 15 Jan 2013 00:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=ONQ1WiN3HyZ84hRNHYMCy1euEBMhLdfL3EvuBN+F+x8=; b=W7TbQatJH/vrOEH6xtvzpsOVbqH6wp7zdO/qKymEbQx6XPYnvYVqUpbzvRGM6xKdtF v2y9uzqk+XIoqxIInE6bn+zlFkP1zqrwJoN+X47e1Bchk9h++Eedu2jCgCByQc6/AlfO Uzb9PzetDGttTgeFj8z9Kbn0xA+eiU4pS8t7Iq2SdRrdjEzo6batfOmVlfwP/CSbY4ex sHEK2kumgt7gezyhf5j1UQTqNm9IR6AXTA9tWgehqHA7XHBbHRo5/1s9C+L0qtFfTm2y nQJAlfiAGP+RWu/m02iRgmp20j5lSjoc44EaVOE9Zl99tIcd7qHat7j67lfiLy4h4+SF WX/Q== X-Received: by 10.180.93.133 with SMTP id cu5mr2036423wib.32.1358239851359; Tue, 15 Jan 2013 00:50:51 -0800 (PST) Received: from yakj.usersys.redhat.com (93-34-179-137.ip50.fastwebnet.it. [93.34.179.137]) by mx.google.com with ESMTPS id p2sm2729422wic.7.2013.01.15.00.50.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 15 Jan 2013 00:50:50 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 15 Jan 2013 09:49:35 +0100 Message-Id: <1358239777-29911-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.175 Cc: Blue Swirl Subject: [Qemu-devel] [PATCH] tests: adjust gcov variables for directory movement 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 I had missed the introduction of the gcov-files-* variables. Cc: Blue Swirl Signed-off-by: Paolo Bonzini --- Blue, can you look at introducing a common variable for the coroutine backend? Like coroutine-backend-y = gthread coroutine-backend-$(CONFIG_SIGALTSTACK_COROUTINE) = sigaltstack coroutine-backend-$(CONFIG_UCONTEXT_COROUTINE) = ucontext coroutine-backend-$(CONFIG_WIN32) = win32 and using it in both Makefile.objs and tests/Makefile. Another alternative is to use $(filter) to pick the one file that is actually part of $(block-obj-y). Thanks! tests/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index d97a571..90ad126 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,17 +1,17 @@ export SRC_PATH check-unit-y = tests/check-qdict$(EXESUF) -gcov-files-check-qdict-y = qdict.c +gcov-files-check-qdict-y = qobject/qdict.c check-unit-y += tests/check-qfloat$(EXESUF) -gcov-files-check-qfloat-y = qfloat.c +gcov-files-check-qfloat-y = qobject/qfloat.c check-unit-y += tests/check-qint$(EXESUF) -gcov-files-check-qint-y = qint.c +gcov-files-check-qint-y = qobject/qint.c check-unit-y += tests/check-qstring$(EXESUF) -gcov-files-check-qstring-y = qstring.c +gcov-files-check-qstring-y = qobject/qstring.c check-unit-y += tests/check-qlist$(EXESUF) -gcov-files-check-qlist-y = qlist.c +gcov-files-check-qlist-y = qobject/qlist.c check-unit-y += tests/check-qjson$(EXESUF) -gcov-files-check-qjson-y = qjson.c +gcov-files-check-qjson-y = qobject/qjson.c check-unit-y += tests/test-qmp-output-visitor$(EXESUF) gcov-files-test-qmp-output-visitor-y = qapi/qmp-output-visitor.c check-unit-y += tests/test-qmp-input-visitor$(EXESUF) @@ -39,7 +39,7 @@ endif endif check-unit-y += tests/test-visitor-serialization$(EXESUF) check-unit-y += tests/test-iov$(EXESUF) -gcov-files-test-iov-y = iov.c +gcov-files-test-iov-y = util/iov.c check-unit-y += tests/test-aio$(EXESUF) gcov-files-test-aio-$(CONFIG_WIN32) = aio-win32.c gcov-files-test-aio-$(CONFIG_POSIX) = aio-posix.c