From patchwork Mon Dec 21 14:43:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 346421 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp4521051jai; Mon, 21 Dec 2020 06:55:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPf81o28uYUXDpFWrQoHtEW4A/04oIHk9pFOvFzPRu0/uAZC5i+m++o9AKlpbr8GXCuz3D X-Received: by 2002:a25:ce47:: with SMTP id x68mr22315220ybe.139.1608562537699; Mon, 21 Dec 2020 06:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608562537; cv=none; d=google.com; s=arc-20160816; b=CJDQRiRq1HiBC9ttvI2mFlXcM+chqYoB3xQbdLqjUZw9fSRt+/kZ5m4w1vsMZsF+vk A94goWQ2B2fgfj0tGWi9xn3xP30oHXxe6CuATicR9tbkI13Oy7peAJZInfQVmcj3adeD mTiTy68P1MmoWZx1fyMwOUfzeb33o2YzfKiwJ7Gbljy0YBIsCmmnXvva2d4pZST4DC5C Eg/nid+OODJI0V0qdssgRQRVUe73/dhtTtOsfrhARGJgDLuO7IbVS3xdOCD3SAR5WGOO +kiaZVFFsZUPb4ZPQJPbfq0tkjikX1ndXptBg3fJQ4GQdNjzSWSA8cFlfCNxzE2mb3Aw KVrQ== 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=joAl+PLtHiQUiU+Ypj043BdhAqkjCAPS2HAV23WoUs4=; b=EMncE/L437Q+eBogbC7vN/dlUnoV/8dTc8+N0QKdS9TSGYxU1zswPdwHu1UqvU8LlI zpveoqdclu4iZgfk+BkY99VgXi5DYphoDBOoUkiSZDwN32edbZwbakbLv/Umb4iyImf1 9dy6kjz3SCVs5hQGQach4aUZ2xffcsUDkI3s/Ar7IZENPYvNENXn94RRZNLAGq7g9IN8 kNWOMBpLIUwoPo146T0t0Fn+k1gv4GHCyEaZgdwwrIM0prMUdpXrkuLK4Po+svJyEGoJ QBzcyF4INC6kTY1FVUeQGuELRTa8G1Pk2NJgOF3M39pXW1P+SXjXV8ttXrx+0J25t1iE ZHrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Z16ZXaTw; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u24si19542352ybd.456.2020.12.21.06.55.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Dec 2020 06:55:37 -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=@gmail.com header.s=20161025 header.b=Z16ZXaTw; 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=redhat.com Received: from localhost ([::1]:37134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krMb3-0007JN-5g for patch@linaro.org; Mon, 21 Dec 2020 09:55:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krMQk-0004jJ-Ns for qemu-devel@nongnu.org; Mon, 21 Dec 2020 09:45:00 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:37438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krMQi-0007el-V5 for qemu-devel@nongnu.org; Mon, 21 Dec 2020 09:44:58 -0500 Received: by mail-wr1-x429.google.com with SMTP id i9so11317874wrc.4 for ; Mon, 21 Dec 2020 06:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=joAl+PLtHiQUiU+Ypj043BdhAqkjCAPS2HAV23WoUs4=; b=Z16ZXaTwoqHJttCCLhb71YS2/McBCE7pn7LYP8uPFC49OqyHn7nM0hjxbYTH7taip3 L5BmVrRG78+CKP1lApwhbpPOcflmfNGOthKMBWnPQto54nqgV4M9vi1VAjXC25eFXYZe +JwpeUbbysPuA9dVHbHsUo4AJPvrQeHF5COGQ6R36tP/obbNxG8wutGWHyeTLBbFpuuj dgqE7tLHQtCg0p0frCu4y9PgtRD1J4EDuXRvbZAy8bObDEGUycT1lLYpHXkrzTm5dL0b L9P7vKFizlK8EXBdvfuKbiOuhWV350PM6UBjUTkz5zrAN51rCZ7eTaijDNFeU4jYbO11 DGzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=joAl+PLtHiQUiU+Ypj043BdhAqkjCAPS2HAV23WoUs4=; b=r7HSmO5HleTEc87jCGkSLZlMsdZxaulVyLR4wgNwnBv/N7tYsu8y4smD2KzwSLC3gs MLRMGbCCtQ2ZfPJWzFN4kb551kjjkRxnAOu3jExzli378qTBl6pJGCcYTwSHl32ew1+n 8JKyRtB2ap0dnaqSKJJbqgVuS+44i1X7sjqD0zwYthxDAH25z2bRGgPaYUgBEPxGPc1t Vv/yDORPelRYd+cTzgLlqZWD6MDt5nZTcQ9OaxowlArlo873xcgx/uA/AmwXC/3098Qx UVDYBcX7mNf3xa2b65w+Z+NYhK7iSFR4G5RjXtbi+N0L5s5pEBuiXlLYqzVHJqinUhX/ YTYg== X-Gm-Message-State: AOAM5326LsLXiqhucPKXwRwTUkGlJKb4xzVaGTe+B72kHm1SKZrSrBMd UMOItUeIeEoAitr1hSXHA56NgkZJ9VU= X-Received: by 2002:adf:dc08:: with SMTP id t8mr18917251wri.195.1608561895798; Mon, 21 Dec 2020 06:44:55 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l5sm27439627wrv.44.2020.12.21.06.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 06:44:55 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 07/55] tests/tcg: build tests with -Werror Date: Mon, 21 Dec 2020 15:43:59 +0100 Message-Id: <20201221144447.26161-8-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201221144447.26161-1-pbonzini@redhat.com> References: <20201221144447.26161-1-pbonzini@redhat.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alex Bennée 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> --- tests/tcg/Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2 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