From patchwork Thu Apr 19 13:58:43 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: 133827 Delivered-To: patch@linaro.org Received: by 10.80.173.174 with SMTP id a43csp886808edd; Thu, 19 Apr 2018 07:45:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Jsrkd8nLUauHLVUzPTFzA/2DRqYfPQgQwvs3U3PiWNtGsrPpOcRjDvy9s7WCNcJLgabiL X-Received: by 2002:aed:2ce7:: with SMTP id g94-v6mr6250521qtd.298.1524149122670; Thu, 19 Apr 2018 07:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524149122; cv=none; d=google.com; s=arc-20160816; b=tz7BdTvRcied0aTvym0SHLKJw1dQlB1YDb8aQk+ziRIHKkG6GfFPMfNuy3uA79N3bS QVxOEgNU2JGdZhes1tsLIQ6dla4iRZwxuVGBr+VMgLWHl7+pcvOaduFuSkkq8dz3zki0 K+f/V+ou9gB/iij9/SvyF34eT4G+RUQaDHMebuHqIFFSXsNjSqLelfUMG7xEudCMjmSW zvOU4asPuG0+f5lm2MGzZGDGZA8a7Xm18N/lPayGr6G4gNilFTwqw/QSNIZZcUtawtGs 52ObJpfGXYj4MJYKS/52cYXHPaVQQ3wrdgrKYZtc6gYcUfmaegRXxKcoxdwUlVJWkzUp 5dqA== 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=0OulYNr93ZEqOVNUubph9dlHQ42n7JguuGfru1NCCMU=; b=hEAclggv9jBiaDY6Va9CHDcx7w5VCAQOrh3+2AMUJXPAEuawO4HNTmd4JB2+Ix9Y/e 9eOYzwaVeIn4jcR9GQU5euIEhY9BylFNL5ML1HVYpGS7WsldGytEFZFNDSBChEhHxyWC AnMEYCATu6iN7nFcisfCTSMtZkrmasI6puExbFUaiqJLSk3f5sXt0eAIVZcNDzsbJnyh KCL8aZftq6AwZ9Pcfa+vfihUkQQLRsz7xf0Rnlpz64U35blpHhikO/IIxT/POrTxjeDo QN8FW+uX4E7COn/Hml+reLHRsbXFr5STNfjZWfeBjmJ3VxtUWa1m5Cly4t7rPig33P29 ZgCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NmCDbXYr; 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 f9si5126971qkf.153.2018.04.19.07.45.22 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 07:45:22 -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=NmCDbXYr; 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]:52181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9AoM-0005Ce-5f for patch@linaro.org; Thu, 19 Apr 2018 10:45:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9ANX-0004mU-FQ for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9ANR-00067W-Vd for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:38 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:42545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9ANR-00066e-PA for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:33 -0400 Received: by mail-wr0-x244.google.com with SMTP id s18-v6so14504737wrg.9 for ; Thu, 19 Apr 2018 07:17:33 -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=0OulYNr93ZEqOVNUubph9dlHQ42n7JguuGfru1NCCMU=; b=NmCDbXYrNIso0DXKuTgpt3sjGIdx+kzZAyWkF0xjRWbYwuQrj1XvEiyEjSuJjKhVSv Nei/kQqyKs9emvtvCZBQw0AYRcxEk9cxUgnT4JmOLI7CnwAEhfGlF/1sNn2LYwaNGaVM m+Y8bkgQgnFNXykbg2J8aAtOrc2E7em/U7yxE= 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=0OulYNr93ZEqOVNUubph9dlHQ42n7JguuGfru1NCCMU=; b=G7PbWdLFhR64R5BilcbeNg0Ww7c0V+mpSTzr2hkQoDRy93qGia/y5nS1HoY1ldj3v1 o/k71cVmmvgiERJl+gOyAClh+j8Km8WZ4R+iECFJc4ZXRE1BCsuBDjjUw1G1Wahoa//r wVdaemZKtwnPXD19/3VyiYDVnK6vZdANb3KE8wvTTYykI4mOqQL70SWDMnbOfaKBDooO kDWhKNO2CaLZInuzeNLa5A3y2OWeIqhQ6nYdRcpGJfT/Q55J/SlzaGIcBfQyLMrAT+CQ V7wKOcZMBoQrj4UcX5XeWC82eTvDBXCKNrgPU800aRnGJELpWVUDNdI5Ot9pS0rgtBoy uCig== X-Gm-Message-State: ALQs6tAIiHZds6WB4hqFQ3q3ok7+TrjxDCbST4Cul6Cz57w3myeHQWmf flZQEQVDKT22vLMCYaInw8HDOg== X-Received: by 2002:adf:d1d1:: with SMTP id m17-v6mr784399wri.96.1524147452772; Thu, 19 Apr 2018 07:17:32 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u36-v6sm7137042wrf.87.2018.04.19.07.17.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:17:30 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 66BED3E054C; Thu, 19 Apr 2018 14:59:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Thu, 19 Apr 2018 14:58:43 +0100 Message-Id: <20180419135901.30035-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419135901.30035-1-alex.bennee@linaro.org> References: <20180419135901.30035-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::244 Subject: [Qemu-devel] [PATCH v2 25/43] 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org 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é --- v2 - do VPATH manipulation in tests/tcg/arm/Makefile.target - merge with fix hello-arm test --- tests/tcg/README | 9 --------- tests/tcg/arm/Makefile.target | 13 +++++++++++++ tests/tcg/arm/README | 11 +++++++++++ tests/tcg/{ => arm}/hello-arm.c | 0 tests/tcg/{ => arm}/test-arm-iwmmxt.s | 0 5 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 tests/tcg/arm/Makefile.target create mode 100644 tests/tcg/arm/README rename tests/tcg/{ => arm}/hello-arm.c (100%) rename tests/tcg/{ => arm}/test-arm-iwmmxt.s (100%) -- 2.17.0 Reviewed-by: Richard Henderson 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