From patchwork Fri Jun 15 19:46:33 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: 138794 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1277236lji; Fri, 15 Jun 2018 13:19:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJqZAbPBCy2bcAOK96RAU4l7cI1k5dAMaxv1kYmbqw4BtlrPEmSO9q/dgFLt2jnPulTtkAC X-Received: by 2002:aed:3be2:: with SMTP id s31-v6mr2869038qte.392.1529093989979; Fri, 15 Jun 2018 13:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529093989; cv=none; d=google.com; s=arc-20160816; b=mdhi23zCuId40WVc7p6veTJ8m6LGHIv4U5irw52JdEm27EHOhYPbEgG3ZmZgBL5wKh ExZg1icaykfAlgTK+mh1VXn0D+zD+MQkGSueSO47rFbbbUK0itBQzNeybo9+XU4SZArN K83SDRrjFl7enjcYRtpGaaSYuXbJaAhLvU1y6UUQwndeX4MChJohL8ll6gh1R6iIm/pO bLv30PdoV69GGPGmVtbIytztvs+XAy0ZLpyDz2v9AWxIazqvE6iEzfTDJvUca8RJLSR6 mdyb1/lPBO7WHNAmKrDexBEpRGbbvmZpsyLPNM6TxPoROR1UHudTp3BRdcPXxmSplfMz xVWA== 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=toKwABZPuPoTCrsD7wx5INdFb9OknH4P7indFILILzs=; b=jUreKKsF4QIqgVE+ubnrSG95Uc2mkYbsHopbAkdPqZwX3TyYX58YCOS+Exw6+KVIvg HUrfLkrGJ3+l5/lwMK4fBuS1rtmu4r/SyErxa0EervMID2S7lOJZ3cej2Dsu4AIEDDqf KawuZubI1ROU2sT44Neo/CpSP2i0gt1tAA/TXZn6VqlPP6tAy0WlUz3Q2dv+tTpLraMs D5Coddq9qnkDN8K0Ha5cqB5rLs8vr3aykCg1FL02c+GBelkIwc3HgqLAudv9anvze0Ah 71da6fhG0YHTt8DhipBR6hxeT0xmkoX3LtMzzEFFVp9Az60/LiDS1q7JyiWdspKNzIi6 eNgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NJXDWmkk; 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 c67-v6si7363248qkf.136.2018.06.15.13.19.49 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 13:19:49 -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=NJXDWmkk; 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]:49149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTvCH-0002vG-Cq for patch@linaro.org; Fri, 15 Jun 2018 16:19:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTugu-0002cd-1L for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTugr-0005bn-8N for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:23 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:35097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTugr-0005aN-1A for qemu-devel@nongnu.org; Fri, 15 Jun 2018 15:47:21 -0400 Received: by mail-wr0-x244.google.com with SMTP id l10-v6so10991728wrn.2 for ; Fri, 15 Jun 2018 12:47:20 -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=toKwABZPuPoTCrsD7wx5INdFb9OknH4P7indFILILzs=; b=NJXDWmkkGiyCUU3E9gAr3w6BHVtiYDsfdwlxgvMPxXqJElFVk821zhmpCZx1kF4GEX DX2NtLUxDxQ2ZuZhagbizgrUIU4xy9ZUj/TI+Kffn8gh7B88URofZmMfrfgiYsQwOtWb NdNHxs6LRQUHpnPqE9iDH0TbMMey14WjA5a8k= 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=toKwABZPuPoTCrsD7wx5INdFb9OknH4P7indFILILzs=; b=dPV7rEGcWIflLP+5OCSyyNvRWjkdCrwNKoRMu7tDfGNPhiL9sB9y6fojLiwBWe86TL hi61j3V720dOtKSTTzragJf80Mxbf65wVp3URfbJJ+v/cQ9R5mKsR9NLiVQUARkIP6QA DR62Ew+vOp6jm4SPs8Dmtm+RjQmAj0cFSfpy6ARr4tdfRzHjyj3n3GQK/jVR50GzG/pV K43+ieAYdApjVUJhuMwgPgexhn7PE54nQ18SwDPtC6wbn5/MNWYKk4OAoMrhFFAC9bln aKUysT0ylwgs8A+ZTzoXRWMahSIs3tlMlbQmDDH4a4HqxGH1LJFUQKuPx0V02tFLfnSO 4jKA== X-Gm-Message-State: APt69E3ugQQJ8/f3tHpci8Elva7mml9luasMmxHJi0/1LOnyuLwHV5N+ wzg1SKFt4kGSwdzLlLoNfHd29Q== X-Received: by 2002:adf:8e89:: with SMTP id q9-v6mr2773785wrb.269.1529092039933; Fri, 15 Jun 2018 12:47:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c129-v6sm2243842wma.37.2018.06.15.12.47.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 12:47:17 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 433EB3E0C0F; Fri, 15 Jun 2018 20:47:07 +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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:33 +0100 Message-Id: <20180615194705.28019-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-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 v7 22/54] 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: "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.1 diff --git a/MAINTAINERS b/MAINTAINERS index 57c828644f..75a163f557 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