From patchwork Wed Dec 16 16:48:24 2020 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: 344511 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp506326ejs; Wed, 16 Dec 2020 08:54:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKkF6pEbYkhCuNZoPAIKo818VY4iZsfudd+5NvOSLogncaoxQIX1ByaIIKHsgpFwkkLJHW X-Received: by 2002:a25:2cd6:: with SMTP id s205mr50143672ybs.279.1608137683458; Wed, 16 Dec 2020 08:54:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608137683; cv=none; d=google.com; s=arc-20160816; b=y8PyCrNsGzqHi/3rWBcBa46tq2VsogTQb1XfZiqAjrmFCX0v6nx9K2ZsJfFh+LKomx xvpasFxWI3z4c7TctLNZGsUmi+AeFHs1VqeX2ryGSrr9ajsB3OP5S7gFWap981VY1kz5 45IiSsjSXoFFmNnhlk0mhttRu69Xzk0YMZebHc8WpLd955XTd9uPFoOOmXg8KM0HiZn7 iGgxvtlERmRbtQCxmpylyPQRi4Lh0eTxaISmEiiVzGMrlgIN56j8U7nuZnFi3pU4HBBO tL3D+huXtdsoiZoJ8jd3d3nIr8zKqHYBuIdXt0UQk2fryp4kaL1IbN5Ngh2FlpLviuUu GSWQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=xEbb1A8Q3vElPyecINXk4fjojRKvByDa/JdiywVldrM=; b=Op/pI/zZRJI8RxP19A7cxZGk20+iPgK91BdSQGOlZOeKBjezyj4Prdx2jb17rLfTZr xum0k9kV/v6mSmgeVwGti4N6o0JIvUpK94mDfI8AmEXdXWXJEIp8NxjCv9XYf1hFklKk 0vFyaV7JVE+6GqJAVJcD2rux3sd9MIJuJaGeWB9dRTl40AiEtj0cjXpYuB5viAa1CFbu pCDF8QDiziWXdCit5+xr8kOw17CYyLZhewPteAVIOA1LIj1DZKXoih8oyIucXghIcbs+ 4t1xTG3hkhT4+CTBVasS5ZWnrAk2L+AL3caM+yiKw3TE+ULnOlK210zOEf59Qk4btMVz 1wYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=u8oKpPcp; 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 128si1474176ybd.395.2020.12.16.08.54.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Dec 2020 08:54:43 -0800 (PST) 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=u8oKpPcp; 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 ([::1]:44584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpa4Y-0006hy-Q3 for patch@linaro.org; Wed, 16 Dec 2020 11:54:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpZyn-0008C6-Uw for qemu-devel@nongnu.org; Wed, 16 Dec 2020 11:48:45 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpZym-0002PG-CK for qemu-devel@nongnu.org; Wed, 16 Dec 2020 11:48:45 -0500 Received: by mail-wr1-x434.google.com with SMTP id w5so20107532wrm.11 for ; Wed, 16 Dec 2020 08:48:43 -0800 (PST) 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=xEbb1A8Q3vElPyecINXk4fjojRKvByDa/JdiywVldrM=; b=u8oKpPcpIYQ7rO9MjYtE5FKM2r3HEQFChtIJT8ET+uRxw46OGO9HLCWeYP1//7mx/i +s214MKZvJKHjbpO4Vis3UUdR0W9cTO7JGihB/hvpgnoUd6Qaohowf52sw7o0/zf1myS mQwCN8ff7zAv1JXC9I167sFJDuB7mXuTnbYTTDvCX8KSlzIwE0XPIcEI52CRtVTI5WfM wJhniJ+IKD3vPam0UAx1Y//TcQI7FAxvcXJhQp1WyJPA/nY2tdpReP2hD80biJ/EN4Jy wi9FOpJ6dYNj7guwoq/V9HHhF7BzsQ5aHDAVHUFsYqeeG9rFP1LuecUgPARTHEELcadZ RaZA== 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=xEbb1A8Q3vElPyecINXk4fjojRKvByDa/JdiywVldrM=; b=Xs4CsaawuPhF74Q9yjMh0DxToIuTh4ZNxIwwj72Wofa7AkqvCLHMgroGxaxoO/c0xe OYJKGoDGi/Q0pdINLj4/mZyeak8u8vM7MCGA47NbIEMDjxV+xMD0ftCMvYT1QAX7LLXD L3191zf4qg0S1uTKbkBcy+CsPD/dsmqh9o1HhcA8CTfyhJGOYoql0DUJuceDSYbrjZcF SfgQ88pSN0dbA8ZJR7Eo7vtRrGor4CD3qZfnibZvUkn6sHR3MD96/7YnFGF+fToY4vVI R8bGagXzLz7J6uroTc1dvxTsMDmLhc1nqitCIfdAedeCa/Am8mmvQcmZMXUY56GztQzB j8NA== X-Gm-Message-State: AOAM532nTCFUSW3KsEBlBF1uXDYvo7EFvkTBvRvqfGhaO+Ip8sQqW6Lq +vNiNOxk26LyIj3xihWBTjqaDw== X-Received: by 2002:adf:eec6:: with SMTP id a6mr38582310wrp.239.1608137322977; Wed, 16 Dec 2020 08:48:42 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x17sm3968964wro.40.2020.12.16.08.48.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Dec 2020 08:48:35 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 970251FF96; Wed, 16 Dec 2020 16:48:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 08/11] tests/tcg: build tests with -Werror Date: Wed, 16 Dec 2020 16:48:24 +0000 Message-Id: <20201216164827.24457-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201216164827.24457-1-alex.bennee@linaro.org> References: <20201216164827.24457-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hopefully this will guard against sloppy code getting into our tests. Suggested-by: Paolo Bonzini Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20201210190417.31673-9-alex.bennee@linaro.org> -- 2.20.1 diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 2ae86776cd..24d75a5801 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -94,7 +94,7 @@ ifdef CONFIG_USER_ONLY -include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target # Add the common build options -CFLAGS+=-Wall -O0 -g -fno-strict-aliasing +CFLAGS+=-Wall -Werror -O0 -g -fno-strict-aliasing ifeq ($(BUILD_STATIC),y) LDFLAGS+=-static endif