From patchwork Sat Sep 17 14:03:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pranith Kumar X-Patchwork-Id: 9337109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CB966601C2 for ; Sat, 17 Sep 2016 14:11:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0D0028D0D for ; Sat, 17 Sep 2016 14:11:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F92D28D13; Sat, 17 Sep 2016 14:11:50 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 365D728D0D for ; Sat, 17 Sep 2016 14:11:50 +0000 (UTC) Received: from localhost ([::1]:46358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blGLN-0001dZ-2Z for patchwork-qemu-devel@patchwork.kernel.org; Sat, 17 Sep 2016 10:11:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blGDp-00046k-3u for qemu-devel@nongnu.org; Sat, 17 Sep 2016 10:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blGDn-0002fx-9u for qemu-devel@nongnu.org; Sat, 17 Sep 2016 10:04:00 -0400 Received: from mail-yb0-x243.google.com ([2607:f8b0:4002:c09::243]:35498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blGDn-0002fm-6Q for qemu-devel@nongnu.org; Sat, 17 Sep 2016 10:03:59 -0400 Received: by mail-yb0-x243.google.com with SMTP id r203so2357961yba.2 for ; Sat, 17 Sep 2016 07:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gTrK4WRrxSA887TB1U0HxRl3Khi+wLUX4CB6UeAoFfw=; b=ekCExcb+7vDQNrnLn6ikzTp4s5cg5oxbT+m1zOFYvU2RJ4ZA1vZU8DDsdCbCmmWePJ eKuFBIz0NhfNApwdRIGCXOfhS6Sf1zz0SV+BfMB2d93HRQjxJRdl98P06EXDxUfbau73 7QaDN1v56mMj5B4aa1qvTklhE06nzInALT5f+jJYgJKsD/2XlmhCfxxVD+yViOmED4dR 0od7yBLlpdaUDYr1Hyv1+gEheJ1noDwuq9YLZL0ZiivH8zlAF/lgQYugPkvNPNOLCy8b 1hWVDnA4aQAAOqowwh99rvWbCFaat+kY/CSfXmRzu0ozAiauBVyYst+BR6et8yL9y2kq Tr5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gTrK4WRrxSA887TB1U0HxRl3Khi+wLUX4CB6UeAoFfw=; b=LjyHz99n5gFQeoOfO9ex0LLdDx3PH065ns57c5DmK0dI5exN7kFWKRvp/cW2dNwT/y d61Y3JVRHOGFANPZGYSBsVzbrzOhmeJqEe/m+BgPGRm1FPB8rCkFLjHEs5LPl+fd+U8/ 8PPNMjnnD4AsD6C5kztkcQ39UB7pYdm94lrcuUUgBS6a26ePVJcT1WmqFUGCsLtgmhKk JVwWqxc4KF4Es53Gm7U/MNE90pSnen8fkIDYsK/FN/JE+WxFdacco5Oxzg76nJy0sqjl do3jehVNCn6NWXAnH47JwCzQIdi5/PtR2hvTg1vNH1p4gXR1kQxy+BO2FL5ry2q+9G8/ cS2g== X-Gm-Message-State: AE9vXwNzvPfad8i695c24UCeyMBUn/xpUm7wd0llOu0EKnKTkQYYBVF2UNxkkDhFfA4ICg== X-Received: by 10.37.215.202 with SMTP id o193mr18668877ybg.95.1474121038818; Sat, 17 Sep 2016 07:03:58 -0700 (PDT) Received: from evgadesktop.attlocal.net (108-232-152-155.lightspeed.tukrga.sbcglobal.net. [108.232.152.155]) by smtp.gmail.com with ESMTPSA id k133sm2356094ywe.46.2016.09.17.07.03.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 17 Sep 2016 07:03:58 -0700 (PDT) From: Pranith Kumar To: qemu-devel@nongnu.org, Eric Blake , Markus Armbruster , "Daniel P. Berrange" , "Michael S. Tsirkin" , Paolo Bonzini Date: Sat, 17 Sep 2016 10:03:48 -0400 Message-Id: <20160917140349.12431-7-bobby.prani@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160917140349.12431-1-bobby.prani@gmail.com> References: <20160917140349.12431-1-bobby.prani@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c09::243 Subject: [Qemu-devel] [PATCH 6/6] tests/tcg: Add tests-tcg hook in Makefile 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: alex.bennee@linaro.org, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Pranith Kumar --- tests/Makefile.include | 1 + tests/tcg/Makefile.include | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 tests/tcg/Makefile.include diff --git a/tests/Makefile.include b/tests/Makefile.include index 2f11064..5f314ed 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -803,3 +803,4 @@ all: $(QEMU_IOTESTS_HELPERS-y) -include $(wildcard tests/*.d) -include $(wildcard tests/libqos/*.d) +-include $(SRC_PATH)/tests/tcg/Makefile.include diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include new file mode 100644 index 0000000..a55cb03 --- /dev/null +++ b/tests/tcg/Makefile.include @@ -0,0 +1,34 @@ +# +# linux-user TCG tests +# +# The Make is expected to be invoked in the ${BUILD_DIR} directory +# using the tests-tcg target +# +BUILD_DIR?=$(CURDIR) +include $(BUILD_DIR)/config-host.mak # brings in SRC_PATH + +UNAME_P := $(shell uname -p) + +tests-tcg: prepare $(UNAME_P) + +prepare: + mkdir -p $(BUILD_DIR)/$(UNAME_P)-linux-user/tests/ + +x86_64: + cd $(BUILD_DIR)/x86_64-linux-user/tests/ && \ + make -f $(SRC_PATH)/tests/tcg/i386/Makefile + +i386: + cd $(BUILD_DIR)/i386-linux-user/tests/ && \ + make -f $(SRC_PATH)/tests/tcg/i386/Makefile + +arm: + cd $(BUILD_DIR)/arm-linux-user/tests/ && \ + make -f $(SRC_PATH)/tests/tcg/arm/Makefile + +aarch64: + cd $(BUILD_DIR)/aarch64-linux-user/tests/ && \ + make -f $(SRC_PATH)/tests/tcg/arm/Makefile + +.PHONY: tests-tcg +