From nobody Wed Feb 11 02:08:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 152942482501044.40299018244343; Tue, 19 Jun 2018 09:13:45 -0700 (PDT) Received: from localhost ([::1]:43517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJGK-0005DH-7C for importer@patchew.org; Tue, 19 Jun 2018 12:13:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVIoP-0006hz-Vu for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVIoO-0006UM-I3 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:53 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:38632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVIoO-0006Ta-7E for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:52 -0400 Received: by mail-wr0-x243.google.com with SMTP id e18-v6so155163wrs.5 for ; Tue, 19 Jun 2018 08:44:52 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j4-v6sm3366wrr.47.2018.06.19.08.44.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:44:48 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 55F443E0C0F; Tue, 19 Jun 2018 16:44:37 +0100 (BST) 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=jGyUD6T6phK/XXMVn1waW06W3JXghTvaJ/RqcBAX9u4=; b=RbYvm1shSX9CiouzYlqH8nQhQmxAzcqlFcTTyyFlF4UdLwfgmsfrJIrtqTig8LXdbz L0Cy1801ZSULaJSHr3W5Mvwf8yfASXFgn7E2JG3LVJ4KY7NOs1axCXJHVO+UH54wAluo ATmcUwFE+xROusnYuPFsBRC3kkEplzG5c/Joc= 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=jGyUD6T6phK/XXMVn1waW06W3JXghTvaJ/RqcBAX9u4=; b=F2gV1H+vYvzurMSZa2q4qQmq5q0sx4CVgIcQqMLhATisGgYkGyA4/aujyqxwy5dFJm 651R7mPtiLIR4BBiWp7a7cO4gwRSba9+7LHsXcR6C6v2YceAF2Ce33jVr3VA87MJzodp vXDj8ep2AEOHX2T7Rl3qSu2+20rGRd778L2b1iXTNFBlDUZxBZbfE1AupLaMh3Yhzf1J zrnku3raNHiHLGDH45G261HeJ+mVO/CUYxV8E0pux1qtdqNAtNYu9yBhWckxUrc8dTwk 4vPBo4LJOD1qo1zssn6j85vxyo86weCMA2jWEbHKFeTwxytHK05S2nY4q4TKzbibxl9X dH2g== X-Gm-Message-State: APt69E2gk87bfRDGmsGMtmNMdw6Ls6LXvg8limfU2H3Fqt57e55khiLT fCfN9CNdiF/oEvk5qACQAVZaoQ== X-Google-Smtp-Source: ADUXVKJg+VlzWqpC7agVq7dSLXpZ8gfSuRrSMkpKqPA8yAN/ByTq00rfdUNTB4+3F1Y/nAwH/5j8ow== X-Received: by 2002:adf:bd89:: with SMTP id l9-v6mr14807567wrh.266.1529423091114; Tue, 19 Jun 2018 08:44:51 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:01 +0100 Message-Id: <20180619154435.18898-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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] [PULL 22/56] 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=20Benn=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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 These only need to be built for ARM guests. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- v2 - do VPATH manipulation in tests/tcg/arm/Makefile.target - merge with fix hello-arm test v4 - update MAINTAINERS 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. =20 =20 =20 -ARM -=3D=3D=3D - -hello-arm ---------- - -test-arm-iwmmxt ---------------- - MIPS =3D=3D=3D=3D =20 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=3D$(SRC_PATH)/tests/tcg/arm + +# Set search path for all sources +VPATH +=3D $(ARM_SRC) + + +hello-arm: CFLAGS+=3D-marm -ffreestanding +hello-arm: LDFLAGS+=3D-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 --=20 2.17.1