From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 49D173858C52 for ; Tue, 17 Jan 2023 14:12:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49D173858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673964743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=M1TQMdjXSQwcVQQG9mihlc9/H0i+BayQyRreQ4yRSak=; b=UxAnXJaDgEp7S+n7YVD4mAOK6X11wkHOGpeRTTx6RnY1zPdZnZOq2VZHm0KRrnDZb96qGx GkON/QCw4OaJamXqdtRPGh3HHv3Yc3Fs2SHSsHCVapbMvO6xxeWqF/jyssVzRqsZdNTUGT xZhVe1vQ6txStTz7PPhmUB0RWqpjSNY= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-522-9gCY3l6bN7-FGPr-eXSnjg-1; Tue, 17 Jan 2023 09:12:22 -0500 X-MC-Unique: 9gCY3l6bN7-FGPr-eXSnjg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5B4E238035AF for ; Tue, 17 Jan 2023 14:12:22 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.43.2.105]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DDB7E40C6EC4; Tue, 17 Jan 2023 14:12:21 +0000 (UTC) From: Bruno Larsen To: gdb-patches@sourceware.org Cc: Bruno Larsen Subject: [PATCH 0/2] Fix testing gdb.linespec/cp-completion-aliases with Date: Tue, 17 Jan 2023 14:00:06 +0100 Message-Id: <20230117130007.1686917-1-blarsen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP 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: When running the test mentioned above with clang, I ran into the failure explained in patch 2. To completely fix the testcase, however, I needed to add a way to use regexes when expecting multiple complete suggestions. That is what patch 1 does. Bruno Larsen (2): gdb/testsuite: add test with regex for multiple completion patterns gdb/testsuite: fix running gdb.linespec/cp-completion-aliases.exp with clang .../gdb.linespec/cp-completion-aliases.exp | 14 ++-- gdb/testsuite/lib/completion-support.exp | 73 +++++++++++++++---- 2 files changed, 67 insertions(+), 20 deletions(-) -- 2.39.0