From patchwork Fri Jun 8 12:32:39 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: 138034 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp892819lji; Fri, 8 Jun 2018 06:44:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKAsUQ3UF18atOU0iioI/imhlya+gmsMFBy6ZBwFjnAYLhlgPizCA5EhUeGyIqC9e4mfWbj X-Received: by 2002:a0c:946a:: with SMTP id i39-v6mr5644222qvi.139.1528465499480; Fri, 08 Jun 2018 06:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528465499; cv=none; d=google.com; s=arc-20160816; b=Hw/qpEptvN5g+X8+ZGvd4nGE30yGfVh0DVQHDASCwdrIsO3HB5gXlmoKbSwyYalq0o PKjJiPZnq5afvvAczGRdpo204oQHALGeKL8xL0J6U9GKOWINrM1x9zGTW0E6j2d06Q33 hSTbS+w0EHqhvldQZizIqtTp5LFpwkll1/sOU6hiMyTXGVX2XPE1D1lXkZh+4neE26iJ RxF8G1bMGfM6qqguo7O54rJdxTkUlnXlYzaIpbP/qGpv5vsUhZInyi0ZbAdMOx22ROar 41CU7lE0yF7ovFs8LH+xpKIGIetXiLH6NILZliU+TgEXiUC0Yu64LVHQCxoWM1Vtu/Se vTlw== 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=MCgxFXMckCOn+s7Y2ydppTMZbcoRcZ3TwWBC/bFXOec=; b=x2+zAKhlXDH7iqyd291jqiR6j3xmtoDsGXWTUQUo8ErLsM8HU+KqHxgvLufXBot12M yynQm6DNofF7QiRovn8n4Eg2G3NpismZtA7XukL6pYYarBrX4os6JoQ2dlF7JyJ7XH3s t+mw8LzqohfgSfI+mqybs5HqyS1/1cIerUlZwXcxcUiSHbOOH8VAFOTbYIDto3vzYD4D Td7Vm8YeQmPKN/3TDbfcX3QBbOZlWZdMRybeOq4tnE7Me7jtdciDuozEAS8239SBvcSj kJ4Er2uQLp8wqOJSUZnMBb9s2mc7kXJQlgV17YYyT5IUDOL3DqQUOHcQztI02fIhfi5Q +1+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=XrS3num+; 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 11-v6si20125742qkh.249.2018.06.08.06.44.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:44:59 -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=XrS3num+; 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]:35751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRHhK-0001l5-V8 for patch@linaro.org; Fri, 08 Jun 2018 09:44:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGpU-0005xb-Of for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGpT-0006lj-SP for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:20 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:46051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGpT-0006kx-Lw for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:49:19 -0400 Received: by mail-wr0-x242.google.com with SMTP id o12-v6so13263030wrm.12 for ; Fri, 08 Jun 2018 05:49:19 -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=MCgxFXMckCOn+s7Y2ydppTMZbcoRcZ3TwWBC/bFXOec=; b=XrS3num+1doVRRZ5UOF5H3gegpd9jAFXG6tP4iqoiQtfrvDxlaAAKJ3DssH3FVVvaq iOVvDrxSR+BiAJ/8bVvWBJOdPJ+9hj8vi6nIfTcH2OVpBCjaa7e1YDX+TbjOMPi828Mp upZ8f19z7dQqiidsHJrNyWDyvF1libTthSy9k= 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=MCgxFXMckCOn+s7Y2ydppTMZbcoRcZ3TwWBC/bFXOec=; b=YqRZXvn7kmhg51J7MOIT2wcXohmQZlR52RqnlKWXeEQIYDo0d/NZ1iHRfv8UE9YDYk yxHzaEfSHH1UxwuqCVVyi4UFcJAak3CZ16FLW/GIzlRy3GBEgE4EqnxTzPeAPa5uWKL6 sVLA9FFo0U97WW/l9v+rWz3lzr6TJkC2G4z4mdAgQZ7rTHBOaVWcK8+IIpPztv/opjhr abijV/d+vcVtGU1zbOP0cI+XGmN8bsv7VXfuwg1/7wqGna0tus5xP+G739jl3OyWVkF3 /NuletyF7JrgoQYDPGeW7Y1AUYaznnKfbi2Z9ygdDAOmMysevBg6XV5+eJXcsznp1c6E ZSNA== X-Gm-Message-State: APt69E1O7xFcSdRSwdR7Ey9bRJvOylVTFbA295YuARVaLCWQbqfXF0Hx T3s+es8nRbZADJiDKvBCi2Dj2k1rvnA= X-Received: by 2002:adf:c4d0:: with SMTP id o16-v6mr4991667wrf.173.1528462158611; Fri, 08 Jun 2018 05:49:18 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l67-v6sm2573552wmb.22.2018.06.08.05.49.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:49:12 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id CE4483E0992; Fri, 8 Jun 2018 13:33:08 +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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:39 +0100 Message-Id: <20180608123307.24773-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-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] [PATCH v6 21/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.1 diff --git a/MAINTAINERS b/MAINTAINERS index 1063c4d60f..c9b440344e 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