From patchwork Tue Apr 16 03:25:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1923956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=YA5712S8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VJTw64fBpz1yZ2 for ; Tue, 16 Apr 2024 13:26:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E78333858C62 for ; Tue, 16 Apr 2024 03:26:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 637E13858D32 for ; Tue, 16 Apr 2024 03:25:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 637E13858D32 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 637E13858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713237953; cv=none; b=bu1wS2QsBSZx1Jagr8UGANcmcJDsiTjIaG1/idLTShabbcKI0LL6O40WTBf0rKpOI1sEDk/kBrEnjAJF7xyLzoufLH9/AWpWcX1E1fWNJvoM9uOPpsqkBhdZuWy8Zh5adD7HSxnBpCaweaprhT5K86vmRSqBSjYNtaOkQzzZbk8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713237953; c=relaxed/simple; bh=L9avrn7WucjkSkh+m80ie1ZxvMvA/nNaNxosRwLStH4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=owjLjyMKW+QikjfC5XYAQsW4Ij6N6SItIx/sfVSUeGJgLHWAJLR8nkS4KOJZcTsJcoar8kxVYl9GPCxI+oGtB2kjuNFLXHShSaBKEbzPMaFYJaeC24rPomtaM6tlCV9CWk7yfTRXVYx+LzyBr4V485wKoRkGTZi7LGN4Yd8dj7g= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1e65a1370b7so17786265ad.3 for ; Mon, 15 Apr 2024 20:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713237951; x=1713842751; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=TZYmCnaB9h4kmiG6cU6HmA/uOjGPQpJA2shor10ODCI=; b=YA5712S8pG++mgVinDA3r4sFdbsvHbXhkTjF/Wq2wnuEMIXLZwzOo1C5FvN5GrBdN3 5HS3/AYz4REJEIgdDKRQngBmEUsuhq2SH8AfaOKXp9/XWH7r7M6XwwIAiLckdZhWsBqk EhfJsvBtuIdSiNKzOf87Owzu2/Hp5LkeDPCwGwdHKIkPhrvXLIee6JEz68JkBXswzTJR llwW3h9vyLzDpKdD3nAnfT9lc/dq6c+cBTU9f6oPeaMViNdmrdSr5bmFS3DunC0O86lW IrE6+UTK4cWY7DKeQSPhR0Izoj9di6d4zYOdDxaspeBOuWSapJsoEVsLmRXM9V+wAsAR ZSbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713237951; x=1713842751; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TZYmCnaB9h4kmiG6cU6HmA/uOjGPQpJA2shor10ODCI=; b=cuhWZ8p3idtk1F/ryXqfAGhENxK6CtDzT8gSEWz5dYxySwmAf/GaoywhJ4IKFPmEqu T0okjWN/U0gd+3bk7BbhOUshowY0Iym6yyBv5+3rJZKDWPBNHNlNZumATnyvOCP86jp2 PVK1YU5uASOHw0oubj62rgzMG/xXaHRm5QiplHNynY8bz/1z1uZgnJUdSsCF0pKLOPL7 R0b78pEsdFIUMY5feLrtRAxEF36PuRxZiF/ZOu6bbYrrDo8mz3SPLxNVUwpVGGZtQu1b LrVO9TFTxsfVqiSdwRNgJD79t4C2L3g5F6qWi3Ol4zonGDzGUnV4M+IpCB26KLw53b3S t5jA== X-Gm-Message-State: AOJu0Yyj2dlx/PA8VkxjvKZ3hxRJGyoJ/pmXzSeJtwCjkl6vh3jDSTsn MPYar8qiEAivPUlczvoiZNIVqfBbuvYgkN0KjTrgL+krtAhl0Ws3GIuxI4uV7lX5/9XlQvAEVdP nAg== X-Google-Smtp-Source: AGHT+IH3I7MrjCPg/a4fG5wWw3SjElBDLUtqnKkoelxQ8PAIxztOjztQc0tBgFpIEoBJpk/A1HWk1w== X-Received: by 2002:a17:902:cec1:b0:1e5:375c:429a with SMTP id d1-20020a170902cec100b001e5375c429amr14911733plg.17.1713237950995; Mon, 15 Apr 2024 20:25:50 -0700 (PDT) Received: from free.home ([2804:7f1:218b:5e2:c43b:e0c4:71a:241b]) by smtp.gmail.com with ESMTPSA id n10-20020a170902968a00b001dda608484asm8734348plp.57.2024.04.15.20.25.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 20:25:50 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 43G3PWMm2387395 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 00:25:33 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , David Malcolm Subject: [PATCH] [testsuite] [analyzer] skip access-mode: O_ACCMODE on vxworks Organization: Free thinker, does not speak for AdaCore Date: Tue, 16 Apr 2024 00:25:32 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org O_ACCMODE is not defined on vxworks, and the test is meaningless and failing without it, so skip it. Regstrapped on x86_64-linux-gnu. Also tested with gcc-13 on arm-, aarch64-, x86- and x86_64-vxworks7r2. Ok to install? for gcc/testsuite/ChangeLog * gcc.dg/analyzer/fd-access-mode-target-headers.c: Skip on vxworks as well. --- .../analyzer/fd-access-mode-target-headers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/analyzer/fd-access-mode-target-headers.c b/gcc/testsuite/gcc.dg/analyzer/fd-access-mode-target-headers.c index b57b9fa2279c2..9fc32638a3de4 100644 --- a/gcc/testsuite/gcc.dg/analyzer/fd-access-mode-target-headers.c +++ b/gcc/testsuite/gcc.dg/analyzer/fd-access-mode-target-headers.c @@ -1,5 +1,4 @@ -/* { dg-skip-if "" { powerpc*-*-aix* || newlib } } */ -/* { dg-skip-if "" { avr-*-* } } */ +/* { dg-skip-if "" { { powerpc*-*-aix* avr-*-* *-*-vxworks* } || newlib } } */ #include #include