From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id B8A2A386FC3C for ; Wed, 19 May 2021 12:41:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B8A2A386FC3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=andrew.burgess@embecosm.com Received: by mail-wm1-x32b.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso3344114wmh.4 for ; Wed, 19 May 2021 05:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IFrDfM7GiyzIBtvB0Pf25+GSXAgnt7EWeouHasyFFIw=; b=QQPNsn8R5TcRUgW5V3LZXJlQE2KeKW7278sEm1bA7G3S0BAaatGMefS6vxdGkheHBb FKEFqNyjh/ceYseaUh5ErcOXKbQkt8gLEYP2Hifh9Gk0g7MVw1cghMqg3GJYWL5Xti0B ZGpyXEwNXFRSsIehX0pR4neoRnog5BENNSLx9U1IImD0tfnJ4XZQrfJU5Sropd5TYKMj zh5+Uh/ZWXm/DsPd4QEJnnpE8huv7EiMlC0mKCfgo02KjfBBSCQdOS9zjiJ+ZO9jJOcg qq7lCgPeT4QVfpCW56e+KK5Z5lIXIeL9OPWvsGrgd47MlQYee8JWH6Rn9hRv5q0sR3lp i3ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IFrDfM7GiyzIBtvB0Pf25+GSXAgnt7EWeouHasyFFIw=; b=iikgCcfF2/3q52ghmei1t8YP8Gqa4Y10ucRMN9snOgzzUQUEzqjYFJZPLLG/xg6W96 V1Kn8eLlcvJ6XLcgNK6PqGBer+UrkMoyUYkOINuJpfT3awvCaoStm2UmMrQbZHQpBGDa HJ0oajzJYwJ/f5joz2wr9OokhylWNEBPoV58pkCqxEMmuDR+xASH+ObRI1oGbY1czP/O KAiSjr4QghKO18Mo4F3vtuVmcgd5Z+RH6KTmkKZ3Rc0s9JeAOjwhjjKoiUd9cqG2BIRc L7t33rSpxYWBZRHN+XCdnoijlCvAFTPp+BMHNVzdhVu6RhxE//wzFJf7ouGm0L+8Ax+F 4A/g== X-Gm-Message-State: AOAM530/Z5WCpdAo1B4I49PWBWv1x/3023FpxCQbTwV2eDYrFFMBjunG KlJhKe//OJSZCBCE3N8hJkwc8GFkuR2rMA== X-Google-Smtp-Source: ABdhPJz2C0jysXYCa11S+8jPRn9QD47Za+aBamCZDT/51Dn7HgXxNIs5aTyxl/oVqkxXAI9ZCszYsA== X-Received: by 2002:a05:600c:2e42:: with SMTP id q2mr10783270wmf.3.1621428090586; Wed, 19 May 2021 05:41:30 -0700 (PDT) Received: from localhost (host109-151-46-70.range109-151.btcentralplus.com. [109.151.46.70]) by smtp.gmail.com with ESMTPSA id x4sm5638862wmj.17.2021.05.19.05.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 05:41:29 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Subject: [PUSHED] gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp Date: Wed, 19 May 2021 13:41:27 +0100 Message-Id: <20210519124127.1598548-1-andrew.burgess@embecosm.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2021 12:41:33 -0000 This commit: commit ecf25064e87a3d2d59871b3ea7126fa0dee0001d Date: Thu May 13 15:42:20 2021 +0100 gdb: fix pretty printing max depth behaviour Introduced a couple of duplicate tests, this commit resolves them by providing unique test names. gdb/testsuite/ChangeLog: * gdb.guile/scm-pretty-print.exp: Add test names to resolve duplicate test names. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.guile/scm-pretty-print.exp | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/gdb.guile/scm-pretty-print.exp b/gdb/testsuite/gdb.guile/scm-pretty-print.exp index 7bd9d469ff6..00229efd806 100644 --- a/gdb/testsuite/gdb.guile/scm-pretty-print.exp +++ b/gdb/testsuite/gdb.guile/scm-pretty-print.exp @@ -90,10 +90,11 @@ proc run_lang_tests {exefile lang} { } gdb_test "print x" " = \"this is x\"" - gdb_test "print cstring" " = \"const string\"" - + gdb_test "print cstring" " = \"const string\"" \ + "print cstring with max-depth unlimited" gdb_test_no_output "set print max-depth 0" - gdb_test "print cstring" " = \"const string\"" + gdb_test "print cstring" " = \"const string\"" \ + "print cstring with max-depth 0" gdb_test_no_output "set print max-depth unlimited" gdb_test "print estring" " = \"embedded x\\\\201\\\\202\\\\203\\\\204\"" -- 2.25.4