From patchwork Fri May 25 14:18:59 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: 136904 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3656994lji; Fri, 25 May 2018 07:22:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKII1/zZrMOINGr4AA7Rb4WZwq+oVXURD10Nd+iVVeYh2tYr4WArnTpAS+t6hgG2vr5og1NQ X-Received: by 2002:ac8:2627:: with SMTP id u36-v6mr2475489qtu.189.1527258142068; Fri, 25 May 2018 07:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527258142; cv=none; d=google.com; s=arc-20160816; b=iYw8/Dc1EonI6+9IGzv59vXBcjMG89P0uDAqrK3LL/LZKvb2lk4+Q3qe2Tlyy4r1Kd zcXdcMDiz+iOuf/w8nvkymwYSKlKwONgKqhZWvCUsd7470KUXQH8/qlXDqqz9lYOuydy c++sfxHNOjpjgHEId5Gy+158f2vqN9WX7UluIgSuszmEKsdo8x1dNJqQqAUD6SdtLQvN aWnEOOQGOEwTHxo0TKWgD31rlZrNzEsJuXSPX3Kn8rmSkk0Fz0ra91YlVYWg385gbYJs BA6s1KzoYLhU7HzcOACnUHp2WWZGX2tpCetxYhpSI5/m1UjXGxHXKXdgO5QUyhqk9xje 7GQw== 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=wVVSrZjpUIAuDOVSUTUnp6zRU/43T5KV9b+vRL2e1U4=; b=0uZrhmOLWS4l5962SZC6zPK1aGXemwy30gbwbj6bZPfH23W00kktYvZw46CEjaeltY X38gT/u4xY7Nvmu+XFQl+QuqdoJwHeO91d5S8DhHgtf5gbHLJ/wTKwgtetA7iswbFUQN muOBw7b4qQavkitVD4uN9OTIGOO2yLdKkkedwRgxWB+0bG7T8a96Mrg6YR0fX8Ed1VVD EpqPY7bXFtSG44qy1yWCXIYJUK0eJzOQisvNAjDk9EeS87IWs/GClwGrsBaLBOHGxvZv Zx+RNvuB6BuMsDfDbkfnhy9OFDBAuCwaKxlqi6DI6KbnxIZKGMXUIf8YZECyOoznu5uu YFsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Ku8gEMf9; 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 d132-v6si696168qka.364.2018.05.25.07.22.21 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:22: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=Ku8gEMf9; 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]:44300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDbp-0002Ud-Fv for patch@linaro.org; Fri, 25 May 2018 10:22:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDYl-0000np-6b for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDYj-0000HX-0S for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:11 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:40814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDYi-0000H6-QS for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:08 -0400 Received: by mail-wr0-x243.google.com with SMTP id l41-v6so9559301wre.7 for ; Fri, 25 May 2018 07:19:08 -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=wVVSrZjpUIAuDOVSUTUnp6zRU/43T5KV9b+vRL2e1U4=; b=Ku8gEMf97O5tejhNWtS0HzXHgv8YjfeTP0RxvW/eP3+psKknBoZywBMERDNO4qLPi+ 6qNyMJpWmGelPkg5b5rRGxCqrOa36Ts9KQoZ9HfO0pIkQ8quq4C1xEC11uqMZEsMgeUm b7U4XqbaezKbqU7hC7wb+zScSSYqK6HL5MBK4= 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=wVVSrZjpUIAuDOVSUTUnp6zRU/43T5KV9b+vRL2e1U4=; b=cAygh+gXW3EutFwNhxK19lZjLubWLMSKxzBmnWOqG+isTF4xqYNWB8rQ8gIXjGpXNm dF6+mNvHcNaxkt6k7Xpr3e80qyx9ZQUp41BTyBJds0c9XKnkYNS/bTa4841QBzKmqlSK 4RPptiNLc/ZNbOQGuHyJz6P2nCMmpzcAb2KwUxOuW5wSGN4CIb77NQAJcRrMeieUKUix DEamGWCDjS13GO+s+AVDWoMQtxkP3UBFqp4fEHVl/Ue8YZA26/s6v30HNb/L2IN6ydZC l//5Cx6girtimAGPm2k8DpxX/Eo9M6FecG9T7UQIWLgM7VWGrJpWC5hiTQhrW2tBQztT U1Eg== X-Gm-Message-State: ALKqPwdNsHHkbRgeCiYWeqoKkIA06oGEw8H6s/ZWktfmgPQyCHDLdxLL IwjrNurApYFv0pXIbiqySHfcrO3K+OY= X-Received: by 2002:adf:90cd:: with SMTP id i71-v6mr2375060wri.136.1527257947709; Fri, 25 May 2018 07:19:07 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm7608297wmg.44.2018.05.25.07.19.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:04 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 17E6D3E0312; Fri, 25 May 2018 15:19:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: 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: Fri, 25 May 2018 15:18:59 +0100 Message-Id: <20180525141903.6257-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141903.6257-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141903.6257-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::243 Subject: [Qemu-devel] [PATCH v5 25/49] 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: Peter Maydell , "open list:ARM" , =?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é Reviewed-by: Richard Henderson --- v2 - do VPATH manipulation in tests/tcg/arm/Makefile.target - merge with fix hello-arm test v4 - update MAINTAINERS --- MAINTAINERS | 1 + 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 6 files changed, 25 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 diff --git a/MAINTAINERS b/MAINTAINERS index 366f1c3694..e8abe172f5 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