From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 519483858C50 for ; Mon, 17 Jun 2024 21:26:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 519483858C50 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 519483858C50 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718659564; cv=none; b=Y8CndIP4VJ1Yd9oMWKZ5GJJfTr7XMqU4FFDbiulVJbmQ4K4E3Kjnpnu+HMU8SsPygFPc9Ffy6pftQMMyRuk4Gnjui6xFoP9PpZpU0Mhv+3MC6rIeuVljXJLBQx8zG3z6Q71gh0skdM4OZ/oACSwbtpAivzEZP/zH8g4H+4rsP8Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718659564; c=relaxed/simple; bh=6SE4EGi/aVea1GLYExM01yp5FWWdbB029qLWEEP2Wf8=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:To:From; b=o/CvhBo/iA6J0+mjwTdTCKXsNg4z/tk3iZ/eR9y5gFcvn5TvwfbCV15On0jWN9G0ljGIBPcEsy+DUzR4eE6isCOnCAD5f9OsPyIvybeOTmR9xr+I3ENEP8ixKJB5DUd9IufmjdumF90wHAhd75KUCPkslxc2WHRJGU6fOl+TBik= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6DC8C21F24; Mon, 17 Jun 2024 21:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718659560; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VU37utapABXWImm2+68GKbpxpwSHq5AgGqzrVAIKTHA=; b=a/1Y2JZyGYiFtxvcs1nf55VRqA9h9bIXL4qEDkMV5o0MSEefQ+M0FlAbLdidnz+5ZTHAMN /VUe/Yd2KEQsnYNKQ+HUKDTkFtxw4ECqyzq5mw5m3arhj5x3KlgB4X62Wi/4yWYedsqlVm tJVW9psayibI3hL5TLL3pAWbdSucHtI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718659560; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VU37utapABXWImm2+68GKbpxpwSHq5AgGqzrVAIKTHA=; b=2KsMt6xvQDH4Ynwh72FQ71Tkd1RW3WJStkpAQHAwdbQlCIsghWLRJjoIdfqoC/pA3Y+dse LiC1pGp/k75hiuBA== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718659560; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VU37utapABXWImm2+68GKbpxpwSHq5AgGqzrVAIKTHA=; b=a/1Y2JZyGYiFtxvcs1nf55VRqA9h9bIXL4qEDkMV5o0MSEefQ+M0FlAbLdidnz+5ZTHAMN /VUe/Yd2KEQsnYNKQ+HUKDTkFtxw4ECqyzq5mw5m3arhj5x3KlgB4X62Wi/4yWYedsqlVm tJVW9psayibI3hL5TLL3pAWbdSucHtI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718659560; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VU37utapABXWImm2+68GKbpxpwSHq5AgGqzrVAIKTHA=; b=2KsMt6xvQDH4Ynwh72FQ71Tkd1RW3WJStkpAQHAwdbQlCIsghWLRJjoIdfqoC/pA3Y+dse LiC1pGp/k75hiuBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4F8C213AAA; Mon, 17 Jun 2024 21:26:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id CguMEeipcGYcUAAAD6G6ig (envelope-from ); Mon, 17 Jun 2024 21:26:00 +0000 Message-ID: <11de86b2-b6f5-4eee-a787-77cf0bcef437@suse.de> Date: Mon, 17 Jun 2024 23:26:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] [gdb/testsuite] Fix duplicates in gdb.fortran/array-{indices, repeat}.exp To: Alexandra Petlanova Hajkova Cc: gdb-patches@sourceware.org References: <20240611131116.24494-1-tdevries@suse.de> Content-Language: en-US From: Tom de Vries In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-4.29 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,imap1.dmz-prg2.suse.org:helo] X-Spam-Score: -4.29 X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 List-Id: On 6/17/24 11:00, Alexandra Petlanova Hajkova wrote: > > > On Tue, Jun 11, 2024 at 3:10 PM Tom de Vries > wrote: > > When running test-case gdb.fortran/array-indices.exp on a system without > fortran compiler, I run into a duplicate: > ... > Running > /home/vries/gdb/src/gdb/testsuite/gdb.fortran/array-indices.exp ... > gdb compile failed, default_target_compile: Can't find gfortran. > UNTESTED: gdb.fortran/array-indices.exp: array-indices.exp > gdb compile failed, default_target_compile: Can't find gfortran. > UNTESTED: gdb.fortran/array-indices.exp: array-indices.exp > DUPLICATE: gdb.fortran/array-indices.exp: array-indices.exp > ... > > Fix this by adding a with_test_prefix at the toplevel. > > Likewise in gdb.fortran/array-repeat.exp. > > > Hi, > > I can confirm I can reproduce this issue on aarch64 and that your patch > is fixing it >  Reviewed-By: Alexandra Petlanova Hajkova > > > > make check TESTS=gdb.fortran/array-indices.exp > BEFORE the fix: > gdb compile failed, default_target_compile: Can't find gfortran. > gdb compile failed, default_target_compile: Can't find gfortran. > DUPLICATE: gdb.fortran/array-indices.exp: array-indices.exp > > === gdb Summary === > > # of untested testcases 2 > # of duplicate test names 1 > /root/build/gdb/gdb version  16.0.50.20240612-git -nw -nx -q -iex "set > height 0" -iex "set width 0" -data-directory /root/build/gdb/data-directory > > AFTER; > Running > /root/build/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.fortran/array-indices.exp ... > gdb compile failed, default_target_compile: Can't find gfortran. > gdb compile failed, default_target_compile: Can't find gfortran. > > === gdb Summary === > > # of untested testcases 2 > /root/build/gdb/gdb version  16.0.50.20240612-git -nw -nx -q -iex "set > height 0" -iex "set width 0" -data-directory /root/build/gdb/data-directory >