From patchwork Tue Jun 19 15:44:01 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: 139201 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5398601lji; Tue, 19 Jun 2018 09:14:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLuAqz9JnFTHjZv6dj4qugjP71uDPqZNjysPp20LKgXzlNiPWhgZGBEbxi90Z1xKzima6CD X-Received: by 2002:a37:1a1d:: with SMTP id a29-v6mr14456324qka.426.1529424873739; Tue, 19 Jun 2018 09:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424873; cv=none; d=google.com; s=arc-20160816; b=mTTq190Cv6tDzRDcHG3yqJXIR43mlERvP/b1HSMf2LEINC5rSlZ+E5mpp6cwxjuUSN ymAxGYLGguRhSOJMfMt6Y3Csp1hbBLAGio7xiM5tNEFhdx46sULNMGML0HMIJZYEy0nb 8rX0nhYGfVumHkFb3Wy3jXpJySdclFpX+q8cGuVDGgW25za77GFuawRWR3ncTyxm9oFf vouu370OY3OWBssVrtTBusdL/uss6HQkFQBbXNXgd83ZQT3rUcwkWCBxxvS9L4fmXJex /RhwS2E6ixxAb9Tbi8SuLHM56nvG8l0QyOcONrbtufgU9puIIIfZuDWDr40uE2WQPZEw X8zg== 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=jGyUD6T6phK/XXMVn1waW06W3JXghTvaJ/RqcBAX9u4=; b=PfktWH6dVOa8o5YijZh+elRZzGbe6P88Vn1nXbACRi/3NlPGcN86tOxttEFnNz3OO0 lVqvNz1KGd9dBgItVYRTZCQOnpISPTHGxEg04QhJ96TJGi9ZVM3CMVeyb/YysF+QwVWh NARDPSt8OElLt/Cl9g8Xo78fuhWw2UACbKTtoWgWEbJ8f7tstM2/AAQGKvJu5Ghc+/rJ YwkYfHASaZJk4zWaA5VUA/pE8zNOK5qRfbu7S8mKXWF8kHBYLI2M8sJdl7UhsAAOpPzt 876NTxCLQAElJ+X6lux5ShTZWpgppM3qvtgpdnwueccSs6vJGh1cq2JEQEbTFkIKH/Yt 5Ycg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RbYvm1sh; 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 l201-v6si51796qke.371.2018.06.19.09.14.33 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:14:33 -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=RbYvm1sh; 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]:43526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJH7-0006a0-4d for patch@linaro.org; Tue, 19 Jun 2018 12:14:33 -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) 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-Received: by 2002:adf:bd89:: with SMTP id l9-v6mr14807567wrh.266.1529423091114; Tue, 19 Jun 2018 08:44:51 -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) From: =?utf-8?q?Alex_Benn=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 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_Benn=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+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 -- 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