From patchwork Thu Jun 21 06:25:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 139501 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1710201lji; Thu, 21 Jun 2018 00:13:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKnIunDWWxGX3+mxhsIH/nN7xPSuymzSlCGU+FukUq1lq9kqjaeRjkRSDd7Z4WT3y6UiKj7 X-Received: by 2002:a37:7a46:: with SMTP id v67-v6mr19563592qkc.32.1529565218860; Thu, 21 Jun 2018 00:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529565218; cv=none; d=google.com; s=arc-20160816; b=mvqZ/oVgsIvmw67WVaXwBpfP1AdkHqKonJQrTRsGg73SKuQX0GQHygfhj5rR7BXFGT iGL7b+WjrHHfUQZP/wUoT8jLCv+/uW94g0v9Umak2eHMqzEK7WVtOPo6Puf0W19RdgU0 eID5duFrF9RgQx2Qqf758X0X/k/CxHBzUXHRPWmPyv1TNjQcil15O7+AQH4L2OrKvcmx doqI5R5TAsYO1K6RAhbbPGYpgwLiPvFDdm9ZQ0+h2dQHO16FPrdd7/O7gfmQOgE9S0US ZRQ3/cL9mwc+rvxBk0fYA8ygkpPSotWJxAivliTqiNLJm7xn9Kc/5yJIJ/IXd4kNf73C LNBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=w6uA4MCFLfUD4rzHjdyD8elrx7jZho2ltUPk6zZnxdY=; b=RoChNPaA33iTe6yGyZCPgilBIALBBNH0W6Md3x/ubOpKoQa/drWisaihcDVf/uvsnt Uqf+dXwng9mCYl1P7fFLVr7F7c3EgNP/vD1N+nC6tO0sKLrllnqXtyiRdjzrwIUf2VgW BcqzAHIYdSxvMCbxxdOXSfW2f11wsRu/cxtMhhgbVHGUw2RhBtzaM7Ut34GUf184Nh2t WtiCGQtSedk71vs60OuqJ6thczMB/8rFlWUyc1vxb7/hMnVroR6H0zLA/J7O9yA1a6uJ 5qXkT3gwSTkReZTrNtwL7vU4cxphEF5e97yGACSxjv51YP5TkqiqGEY+RQnyY59S8R56 0uDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=cAHFhkEX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p1-v6si15186qva.155.2018.06.21.00.13.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 21 Jun 2018 00:13:38 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=cAHFhkEX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:53508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtmk-00050x-AX for patch@linaro.org; Thu, 21 Jun 2018 03:13:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtI8-0004va-Fh for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVtI5-0003Ka-Bi for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:42:00 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:42837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVtI5-0003Jw-5A for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:41:57 -0400 Received: by mail-wr0-x242.google.com with SMTP id w10-v6so1852421wrk.9 for ; Wed, 20 Jun 2018 23:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w6uA4MCFLfUD4rzHjdyD8elrx7jZho2ltUPk6zZnxdY=; b=cAHFhkEXafw2cYUO5USt479eIRJTf7n10lWScNWy7r3ZHLT3sFhkYExHtbMPCN7RO6 Ha7q9t6xA7n9AdXJSH68F0NS0+nLHNYaSUQraZdXg20u9BqxhXWFn0euri9WhEto+1F5 XxyS5PYpPkY15EKmoPOYrKt5CfPwcQsFpCJuY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w6uA4MCFLfUD4rzHjdyD8elrx7jZho2ltUPk6zZnxdY=; b=FPoVQgvLxO2b0VHul8Ua4D6HzQLqHxc2epejraKvDI4NTmRKtBbU6itFeONqHHudg4 xJrBrd6EVP60h0b8sKukwWFm8Gkmi7XOgoutxYYg6zb+ae8pzfFS+D6cUvg/N+vX/O6T GY1KQrnJHpDfxbeqm8ebxb8+ku/lvF2YauNBweWIp09kPKpGk06scPJRfRVNAs/GjC9b +/uMCBHmbFoNxrmrpjffb28XgGvrjHTpDibxzkRa90E4tJi49+Z4vEJxGVpkwMa9BXcF qnFG9vJMePJcOflW4nOZFxvU/jmOkUeoEBYLuaTZ2PSuEO/AB2ZDQEBlbHjdFfeNhtBl 9WbA== X-Gm-Message-State: APt69E2/7vjjR5ov+3hchQipF3+CvHmw8+A2naHgTXFWasJ9MSrlzm0u zo/1/mYszpW2FPDtyond6os5DA== X-Received: by 2002:adf:f60a:: with SMTP id t10-v6mr18870989wrp.97.1529563316095; Wed, 20 Jun 2018 23:41:56 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o16-v6sm4431593wrp.8.2018.06.20.23.41.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:41:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 32C3A3E0C98; Thu, 21 Jun 2018 07:26:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:31 +0100 Message-Id: <20180621062605.941-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 Subject: [Qemu-devel] [PULL v2 23/57] tests/tcg: move ARM specific tests into subdir 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, "open list:ARM" , famz@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These only need to be built for ARM guests. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson -- 2.17.1 diff --git a/MAINTAINERS b/MAINTAINERS index 096b5bbf61..a6d233a43a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -135,6 +135,7 @@ M: Peter Maydell L: qemu-arm@nongnu.org S: Maintained F: target/arm/ +F: tests/tcg/arm/ F: hw/arm/ F: hw/cpu/a*mpcore.c F: include/hw/cpu/a*mpcore.h diff --git a/tests/tcg/README b/tests/tcg/README index 469504c4cb..625f2326e6 100644 --- a/tests/tcg/README +++ b/tests/tcg/README @@ -5,15 +5,6 @@ or they are architecture specific. -ARM -=== - -hello-arm ---------- - -test-arm-iwmmxt ---------------- - MIPS ==== diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target new file mode 100644 index 0000000000..bc6962ecc6 --- /dev/null +++ b/tests/tcg/arm/Makefile.target @@ -0,0 +1,13 @@ +# -*- Mode: makefile -*- +# +# ARM - included from tests/tcg/Makefile.target +# + +ARM_SRC=$(SRC_PATH)/tests/tcg/arm + +# Set search path for all sources +VPATH += $(ARM_SRC) + + +hello-arm: CFLAGS+=-marm -ffreestanding +hello-arm: LDFLAGS+=-nostdlib diff --git a/tests/tcg/arm/README b/tests/tcg/arm/README new file mode 100644 index 0000000000..e6307116e2 --- /dev/null +++ b/tests/tcg/arm/README @@ -0,0 +1,11 @@ +These are ARM specific guest programs + +hello-arm +--------- + +A very simple inline assembly, write syscall based hello world + +test-arm-iwmmxt +--------------- + +A simple test case for older iwmmxt extended ARMs diff --git a/tests/tcg/hello-arm.c b/tests/tcg/arm/hello-arm.c similarity index 100% rename from tests/tcg/hello-arm.c rename to tests/tcg/arm/hello-arm.c diff --git a/tests/tcg/test-arm-iwmmxt.s b/tests/tcg/arm/test-arm-iwmmxt.s similarity index 100% rename from tests/tcg/test-arm-iwmmxt.s rename to tests/tcg/arm/test-arm-iwmmxt.s