Message ID | 20180619154435.18898-16-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5408531lji; Tue, 19 Jun 2018 09:23:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJD1HhfDvTmL21fY1MiOl4TAotZiAVnpWOL1VBcpz2olf7uvhW9mhgWkRkocjMLNlVHYP1N X-Received: by 2002:a0c:9361:: with SMTP id e30-v6mr15121618qve.92.1529425407806; Tue, 19 Jun 2018 09:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529425407; cv=none; d=google.com; s=arc-20160816; b=Wm1uNRfJA8pFvyZi6O83/rzSwn+JpVBA2wHFwVqhCGfJMoJZl8NggtxpghwV0zN7fa kvwiFnsYA/W2vTSOG0sdOR6hLN+SX/6xxDv2cNTqIgf0wbWbm9SFBgjM1U4bflb059rT C7FbMSpQEz9FCZCyF0UtHyqtnAJyHdOr/gMPdbtmoCl6HTm8ZXDdW5LC5aNwzOlSxl0R yVPbCKcSyOwaoaefEwny6geZk6H9wKziqOwYqjZCbsYyTRRb6FJWt6O2XJ4ifEeRqZ19 hN1OFvjcA2I7ivSPhCzik4n1C76Cw9IjYmI30uVK1zeXCSNq3ko+o8dtjgsDEOVyNZFP eBdA== 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=8wZc01J+UfyQf8ZaxL+5hwRZd8+sH4XCnZBrfj+Q3uM=; b=NSqjdnEvRM/sQ4B4o+qpdsUsETsKVfTkvJp+Xng/e3tnVuxp6vlofGqa+EKvNq/JZk JQIyt42tJCDqZFXuQFfMX0MbzNpOAi9HYeRntwEtJG3EDHxFZYQZCDuD6bpk/OPpyPB2 yrYTbSJVg113+Mhz6WgWnGSZK51lG04q9f2nz0+dJMbjix27VLJN8/nnEXgbgvdr+QVy 73Q9fjSnqeR2mB675/FFbjr4lQhrXF1fPFP++oN6AvvHl68gasl4EN1i9t5E5J5CBJ0e XiDjPFbjbSyLuzOk0L72vfiJJpR6MA8QAvzAQOSew8Yvz5ukQKyPYk/06HZDAXVb8/N/ HaqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eOa0u9RA; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y13-v6si89511qve.161.2018.06.19.09.23.27 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:23:27 -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=eOa0u9RA; 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]:43596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fVJPj-000574-7V for patch@linaro.org; Tue, 19 Jun 2018 12:23:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIvb-0004Mw-V2 for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIvK-0001vg-Rd for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:19 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:37870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIvK-0001tz-Br for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:52:02 -0400 Received: by mail-wr0-x243.google.com with SMTP id d8-v6so179493wro.4 for <qemu-devel@nongnu.org>; Tue, 19 Jun 2018 08:52:02 -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=8wZc01J+UfyQf8ZaxL+5hwRZd8+sH4XCnZBrfj+Q3uM=; b=eOa0u9RA2l9Wg3pxPviGzs5BT4fM8ZbduPHa34xPOJ97dUC5bJABOxZouOSDt/KojE 0G1PANTfaUSeS1pgEVulCyF0i290O0GoTzoAKuLZ0B3wQ7oNxVeH5WiDTc10JDyj6cTr z0UX/bpyGCVCAmS3Wfx5bqAQMDfiC/wuNfTjk= 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=8wZc01J+UfyQf8ZaxL+5hwRZd8+sH4XCnZBrfj+Q3uM=; b=jj+7X0m7YLaTRy+TzFo7gUXWczIwyUmxa272rQ5iA8ojYOnY6R3PSWzoRagQXtMCjT 1keH9eHX0s27f5SZBAMGvDuo8/S2onXoBglLHMK5ry1S5WYZEuPt3hkxw+xw8qP0wi1x Pyez1yMApfj06WnXftOKaUvv9CJda+Tftx656XJOeEDfGNibMH7vGmd79r5+tc+KNSaZ zO0KeXgzO1m9BFMCwYldS/KXLdfca6/OtR2CETYloFOI+qyV57cPPBY78ThfZOGNFg4A BFVaEr3ZmdZ5ofprELD2wdRFxIm0dxtgo1fgGWcDHa+aspP6tbXXOsiHjl4Usfd4dTyn u+DA== X-Gm-Message-State: APt69E0eRoE0DOYZzrUi+9ZqOHRxeWUpQTT5dZUPX/nBn2+KgfIlg134 8cQ2z68ZrnKGjIsPyieqAzkbqQ== X-Received: by 2002:adf:8361:: with SMTP id 88-v6mr14033900wrd.17.1529423521135; Tue, 19 Jun 2018 08:52:01 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l142-v6sm628512wmd.16.2018.06.19.08.51.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:51:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id B8B6F3E0B49; Tue, 19 Jun 2018 16:44:36 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:43:54 +0100 Message-Id: <20180619154435.18898-16-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: 8bit 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 15/56] tests/tcg: enable building for i386 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: agraf@suse.de, Eduardo Habkost <ehabkost@redhat.com>, =?utf-8?q?Alex_B?= =?utf-8?b?ZW5uw6ll?= <alex.bennee@linaro.org>, richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, Paolo Bonzini <pbonzini@redhat.com>, famz@redhat.com, aurelien@aurel32.net, Richard Henderson <rth@twiddle.net> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
add check-tcg and associated machinery
|
expand
|
diff --git a/tests/tcg/i386/Makefile.include b/tests/tcg/i386/Makefile.include new file mode 100644 index 0000000000..be1c3008dd --- /dev/null +++ b/tests/tcg/i386/Makefile.include @@ -0,0 +1,9 @@ +# +# Makefile.include for all i386 +# +# There is enough brokeness in x86_64 compilers that we don't default +# to using the x86_64 system compiler for i386 binaries. +# + +DOCKER_IMAGE=fedora-i386-cross +DOCKER_CROSS_COMPILER=gcc diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index 2f27b65e2d..8b46cc021e 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -28,3 +28,10 @@ hello-i386: LDFLAGS+=-nostdlib test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S test-i386.h test-i386-shift.h test-i386-muldiv.h $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \ $(<D)/test-i386.c $(<D)/test-i386-code16.S $(<D)/test-i386-vm86.S -lm + +# Specialist test runners +run-runcom: runcom pi_10.com + $(call quiet-command, $(QEMU) ./runcom $(I386_SRC)/pi_10.com > runcom.out, "TEST", "$< on $(TARGET_NAME)") + +# On i386 and x86_64 Linux only supports 4k pages (large pages are a different hack) +EXTRA_RUNS+=run-test-mmap-4096