From patchwork Thu May 23 10:25:19 2019 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: 164978 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1995097ili; Thu, 23 May 2019 03:36:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6LTMgCnSnnOAd8SfkyDA9jEeauxhfMoV49bvXbEnYKBQ5a5tzh+6IL3AjKXi5c+oq2gHh X-Received: by 2002:a50:a485:: with SMTP id w5mr50447911edb.78.1558607796571; Thu, 23 May 2019 03:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558607796; cv=none; d=google.com; s=arc-20160816; b=DCMUl3C4ca52gzCq7FTEPu/CY4uZcLbJj15Hj8WauWtkFZtTYsutBf9UKr2xV3y2Uv JgbuwUnJWvlvy1vdj8050RfEenaSyC12b44fcw14fzKWKwmbb9cQPzK0DG7GKaxwDmyd WsC+TKA20VhbHLzvMwMSD/pUqNLJqZ2fPvjihXeDfmPn+P+2BLPXicID5kO/VXAKt0Kn 1odJ5Ln3vMAn9VGLVCR9jQEgCQs0gS1oxCeQ0V2OTnvOGvNrhfPP5xPGm7wRlSx0a6H+ DK2+ECExwPc9OqHmri8WyxBtBwjC43cUKkSbG+3BCxfNMPZrvx100gRkCzdxnm0wLRE8 LsPQ== 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; bh=HYpRsvHEmUYvBYy6wQQpwlcDtNoNBQtfcPxm0CQghqY=; b=mZrnfjlUo2zTk9DAaFm5OBA+QV43hNdbXz9rTLkn7qXvuMKsx/mYyZc16zbMOSOD0T 7OranVOSgJg8Mu1baBxaRouPax5e53XpBPXJzW4O0ELxjxaeVS96eEmBSGAkh6ZIJf57 LYjL5mTbMBvXfHZEJNUAw/wVcfkPVVYhwe7VZmZMVvSPqvJ2dwZ8vVDxWIty8Fng+Y5e b0k1uka7eq34PoP7RIMdMHrjvl3SihKfSC8HtiDuQl+Jpv+23HhlkoCqTiarKrbvyZ9W oF2Ro5/LawjoU5FlMKKNZO8o2OHvGwJdX8s3HI8HXQoR/W3hvHtLLpN5nzFu9XgPJJpA +Fhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="VOyjw/0T"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id p56si6056779eda.176.2019.05.23.03.36.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 23 May 2019 03:36:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="VOyjw/0T"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:33223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTl5P-0006ee-F4 for patch@linaro.org; Thu, 23 May 2019 06:36:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTkvK-0005uh-21 for qemu-devel@nongnu.org; Thu, 23 May 2019 06:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTkvA-0001JN-LW for qemu-devel@nongnu.org; Thu, 23 May 2019 06:26:06 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:55725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTkv4-0000zM-DN for qemu-devel@nongnu.org; Thu, 23 May 2019 06:25:58 -0400 Received: by mail-wm1-x344.google.com with SMTP id x64so5213265wmb.5 for ; Thu, 23 May 2019 03:25:43 -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=HYpRsvHEmUYvBYy6wQQpwlcDtNoNBQtfcPxm0CQghqY=; b=VOyjw/0T4oebmx77bf0SHWLiR23yNN2todyLRTnN3phauS6u4en+7PF2TB9IzPZ4GF Ja8FU3oLAKB/5PPR3Q8GZJJWQ2Lmy2KYUh8X77guFGyL9KnqyWAf7rL08rH08kOoAp1b E2rSUGwtoEoDh9fHjcczOoWHV4ZhCcDJzzhRSe9RrK2Rref0FW5ltXm4dqM90MiWA68J KjXyzvxsSjMaaJNXbYHluD6NG6auM0bPK0K++9XdbnXtoThcKPupam++99sMExuQhpN0 xh0NksEQl9CbuGu354AzfTCk21ThkkLHOI05OLPjF4ojvsBF4376Ntop8CezPCgBQech 0NBQ== 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=HYpRsvHEmUYvBYy6wQQpwlcDtNoNBQtfcPxm0CQghqY=; b=KCZrbkIQCa3/E+eVBmTKqMiFS2YKvdMvAmzHPYNa07qeSGbmqUJ3VieiewIPkl3DlG 9ymBzb0iHQKW5RIQQn1sAY0rgiJCSw65ogVIvk1EKTFYnFz8i6QFLJvE6joB+WSIjt2j Wf1ziZwKCp0lCN7G+HWqVLOAebQuxGDriZUY7geWgAZTLwn9+tOC12a9+I4ob8PAgItF eaGmoD7GKxs1Cg56KDeKeGq9wKcbeojMb7XJgesk2BWFvVEZUAj+7QIiDZCdNHh3Ey60 s+ldCslfeI2MrjaRo3e+Uff484TeS6tRngMx3IAypJEJFX5+NUfo7JehBq/KbKxJL5aU ewSw== X-Gm-Message-State: APjAAAVoX8t1BxM0+MP0FYzwvm51kalPqJijeYIkyMA+5ha7/+X1hT7W SuVuk6mMqhUzSt+j2A/geIkNYQ== X-Received: by 2002:a1c:be12:: with SMTP id o18mr10888052wmf.124.1558607142996; Thu, 23 May 2019 03:25:42 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id x68sm8801239wmf.13.2019.05.23.03.25.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 May 2019 03:25:40 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C21C71FF9E; Thu, 23 May 2019 11:25:33 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 23 May 2019 11:25:19 +0100 Message-Id: <20190523102532.10486-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190523102532.10486-1-alex.bennee@linaro.org> References: <20190523102532.10486-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:4864:20::344 Subject: [Qemu-devel] [PATCH v2 15/28] tests/tcg/multiarch: add hello world system test 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: Eduardo Habkost , Richard Henderson , qemu-arm@nongnu.org, Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is not really i386 only, we can have the same test for all architectures supporting system tests. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- tests/tcg/i386/Makefile.softmmu-target | 2 +- tests/tcg/{i386 => multiarch}/system/hello.c | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/tcg/{i386 => multiarch}/system/hello.c (100%) -- 2.20.1 diff --git a/tests/tcg/i386/Makefile.softmmu-target b/tests/tcg/i386/Makefile.softmmu-target index 53c9c5ece06..c31bbbf39a7 100644 --- a/tests/tcg/i386/Makefile.softmmu-target +++ b/tests/tcg/i386/Makefile.softmmu-target @@ -27,7 +27,7 @@ CFLAGS+=-m32 LINK_SCRIPT=$(I386_SYSTEM_SRC)/kernel.ld LDFLAGS=-Wl,-T$(LINK_SCRIPT) -Wl,-melf_i386 # FIXME: move to common once x86_64 is bootstrapped -TESTS+=$(X86_TESTS) +TESTS+=$(X86_TESTS) $(MULTIARCH_TESTS) endif CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC) LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc diff --git a/tests/tcg/i386/system/hello.c b/tests/tcg/multiarch/system/hello.c similarity index 100% rename from tests/tcg/i386/system/hello.c rename to tests/tcg/multiarch/system/hello.c