From patchwork Tue Sep 3 22:02:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thiago Jung Bauermann X-Patchwork-Id: 824958 Delivered-To: patch@linaro.org Received: by 2002:adf:a445:0:b0:367:895a:4699 with SMTP id e5csp96959wra; Tue, 3 Sep 2024 15:02:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSX5TFdk3xj+wffCGlgCUrrntcfD6WvpJe2ENh1syfpMZS+2oSLBby8cLNWZtgLX1oBvtNJA==@linaro.org X-Google-Smtp-Source: AGHT+IGOrKoeFVcUDbPMqdCY6ZULLZLz78xWx19NyJ6TUj60BPIpvz9S07RWBnjqHmciNZdT7bC0 X-Received: by 2002:a05:6871:b13:b0:260:fb11:3e49 with SMTP id 586e51a60fabf-27810da7749mr5267325fac.45.1725400956582; Tue, 03 Sep 2024 15:02:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725400956; cv=pass; d=google.com; s=arc-20160816; b=GHBajdaOCzfE1RPTU2H5BPyiXVpqtYfh+2warNJckjtar10LlYe5wKFl7o52Vkulw4 IAeLQL9s+FhY3lksuLCshP7eZUdzbziH/I18hHB1aRlgw20B2ac760QCFBbHIkDqm7On 4wb7OXQLI5scUiw3ZYXqPpztlHCGnlfzcH4uKsj2eYJ8QtsFPPWbvT5ue/uZqe2ZX3gS bBMKjPaIyYJwofj9y34QJl889ciaJ2rJN647sKdsr8/csz4NIRyCpo8fwyEgS/kGyV4o LLne6txlQJYdgS89HeZggnaQf8yEg+0dMDUf3kTKDIjW0OQSX1abdIxEn6tvujNpLzjN OODw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=i1PqC7osWqw2/NC1MQNZjSaec3ZYwJZqrOyqUh1qlhk=; fh=NLxAvL/bDfPg4AGOtxqvQlND8vazkZrNzKLY8+LAbBY=; b=jtixQ1a7Sq7NcNM5jwYmtqXrt88w+hemnzKzT0Qciim8jywf5uQm55kR2L7rUXSb2L DiCQX7HnOikG+7qyolmvRPWkyWpi5t8DW/Da/+GHefNPNTGMT16/ysHUwuH2C86Yb8Hl KFiXQNw2IOqpMLg2sYdLvB6oS1xDQzvx3YgiXoxkYYADlx+ayitfJRy/dkEXkSB6rRzx 1IJ0fa1efL7DYIDxAomgw3jRSAtv+DCIRbJJkkjbdb0b9CYslo62ibhuP2zQgJIt1P0e jnuXIqHrnVy5VrwF2A+dlk44mt6W3wb+TTfxj8OL3NPp/IK1hBwhtdid0sQyE+fxTS07 cSHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tZsmlsUS; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ada2fe7eead31-49a5f41a247si2580954137.105.2024.09.03.15.02.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 15:02:36 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tZsmlsUS; arc=pass (i=1); spf=pass (google.com: domain of binutils-bounces~patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2EFF9386481E for ; Tue, 3 Sep 2024 22:02:36 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 2BFB4385B50D for ; Tue, 3 Sep 2024 22:02:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BFB4385B50D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2BFB4385B50D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725400946; cv=none; b=GyzYHLpCfC1WGA+HspijmZhLRptwjDaZ5UJrvK/zjnYoeKAUETqZFEvw2oZzU7IRY8AT730fYXnG2LqiGi+DZTeknMjTUvGBHsku8nV/jjSL0/6ni86jLm9AQA0z+QsJyNvjn949TJv8q9U9jWm1DR7sRx5vWUt48rivqS5aylo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725400946; c=relaxed/simple; bh=fr1L19eRM9TedKaIQ6M8JB8dKG+5+4+ZhsRN8S1+yj8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=BaKDj+CWb59zjcMqGedasMeAbek++lOIu6fhwp5AcXVWfsGvXOBfV6fNfaGPTjSDspnvrCBC+kJu8D5XadIloCebVdCK1LcxVs+P2aNQHDyFvNNZ9dr2/jA5N1KTYQZBVfRAg0OR6MkksUp6jQm+f7UW4NDXP4WGEOtkYKj/eFI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-2068acc8a4fso17239155ad.1 for ; Tue, 03 Sep 2024 15:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725400943; x=1726005743; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=i1PqC7osWqw2/NC1MQNZjSaec3ZYwJZqrOyqUh1qlhk=; b=tZsmlsUS6iXCVMgyhVUT5QGfpHMjWh2l11jNEKFoQILjgyw32lROW0+7VF7SaErqAo fXWY2717ygqhZvgX5gt+V6ceruOZRdi/dJZRYO0YNiEFExDcjagHf0Qp/aKI6q55cwyR Rm3pLDCx5XQw4xN9HInSbpT03nHhJSw1sz1GjumVXxmW6LyQQFOQ/bgpqpfInWlDUTIl jMo4vnmyua41FV7XePe7BKrZ45oSS9a0X6MaIumU9wsxq4Bflne4TkMo5Z9IM1BFwna5 DrpmXm9Hq6nbf3KQ2LMWkFDSQuaC48+7Zx1YPh/LWosYwZdQJpP9gdSeqRsUzCvgjomd sfpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725400943; x=1726005743; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i1PqC7osWqw2/NC1MQNZjSaec3ZYwJZqrOyqUh1qlhk=; b=OR+HMCf2LWnU3pBPSxpsp/X+awJo6MO/oRRzosV5h9aruaAz5KkKbeeUrex/RSh7co sckLSBVqYsdp6aLwo+PT7HRRvQeelVbKWvcZWRJH2jl9d2vhN81l+T0FXFjjUE8xhvu5 SYApEf1oa/DeX0wALk84Q5H/hsTf5AAUEdkgA7yqXuTHYqKZ37sE3vLVuT6wr1NVZfV7 /IoX+WHo63wZmvAxfcSaCbmEFvHCw1axKkZ3vtPR3BuNt4IWFgj8Rml+L/T9Jptg0wiJ eBipUGgnpHpBJlaAaq2sfFdUKAMiGYSVG02efQALxn58m771UKd++CmsoO+wSBR0QqT6 A/yg== X-Gm-Message-State: AOJu0YzdaU6aZUrzniB98U2mIYmMpgj3nLIcbrzEDEQVkUQIMS7Prdx0 2bdrGwBagEptfuyJobPUm/YY86cE8XG+UZoBtHNuQ5Bmvc38yj9a5PdrMi2yNQ7rfkYV/ETCsLg 3 X-Received: by 2002:a17:902:d2c1:b0:205:88bf:bfe9 with SMTP id d9443c01a7336-20588bfc213mr60639975ad.15.1725400942564; Tue, 03 Sep 2024 15:02:22 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:1477:6167:dbc1:b38a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-206aea38657sm2811885ad.146.2024.09.03.15.02.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 15:02:22 -0700 (PDT) From: Thiago Jung Bauermann To: binutils@sourceware.org Subject: [PATCH] ld: testsuite: Don't fail libdep test if shared library isn't found Date: Tue, 3 Sep 2024 19:02:18 -0300 Message-ID: <20240903220218.741657-1-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Spam-Status: No, score=-11.6 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, T_SCC_BODY_TEXT_LINE 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces~patch=linaro.org@sourceware.org libdep.so isn't built if ld is configured with --disable-shared, so it's expected that it won't be found. Mark the test as unsupported instead. --- ld/testsuite/ld-plugin/libdep.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/testsuite/ld-plugin/libdep.exp b/ld/testsuite/ld-plugin/libdep.exp index 83b087279f4a..909671047c3c 100644 --- a/ld/testsuite/ld-plugin/libdep.exp +++ b/ld/testsuite/ld-plugin/libdep.exp @@ -90,7 +90,7 @@ proc run_test { } { set libdep_plugin "$base_dir/$lt_objdir/libdep.so" } else { # FIXME: Check in the system bfd-plugin directory ? - fail "$testname - could not locate libdep plugin" + unsupported "$testname - could not locate libdep plugin" return }