From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10123 invoked by alias); 14 Dec 2019 09:56:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10109 invoked by uid 89); 14 Dec 2019 09:56:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-14.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy= X-HELO: mx1.osci.io Received: from polly.osci.io (HELO mx1.osci.io) (8.43.85.229) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Dec 2019 09:56:30 +0000 Received: by mx1.osci.io (Postfix, from userid 994) id A5A9620211; Sat, 14 Dec 2019 04:56:28 -0500 (EST) Received: from gnutoolchain-gerrit.osci.io (gnutoolchain-gerrit.osci.io [8.43.85.239]) by mx1.osci.io (Postfix) with ESMTP id 96C32200CB; Sat, 14 Dec 2019 04:56:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by gnutoolchain-gerrit.osci.io (Postfix) with ESMTP id 7E0D820AF6; Sat, 14 Dec 2019 04:56:27 -0500 (EST) X-Gerrit-PatchSet: 3 Date: Sat, 14 Dec 2019 09:56:00 -0000 From: "Tankut Baris Aktemur (Code Review)" To: gdb-patches@sourceware.org Cc: Tom Tromey Auto-Submitted: auto-generated X-Gerrit-MessageType: comment Subject: [review v3] testsuite, cp: increase the coverage of testing pass-by-ref arguments X-Gerrit-Change-Id: Ie8ab1f260c6ad5ee4eb34b2c1597ce24af04abb6 X-Gerrit-Change-Number: 142 X-Gerrit-ChangeURL: X-Gerrit-Commit: ca6d6dbc6e981a4dea7499743c5b67335ccc13dd In-Reply-To: References: X-Gerrit-Comment-Date: Sat, 14 Dec 2019 04:56:27 -0500 Reply-To: gnutoolchain-gerrit@osci.io MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/3.0.3-79-g83ff7f88f1 Content-Type: text/plain; charset=UTF-8 Message-Id: <20191214095627.7E0D820AF6@gnutoolchain-gerrit.osci.io> X-SW-Source: 2019-12/txt/msg00657.txt.bz2 Tankut Baris Aktemur has posted comments on this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/142 ...................................................................... Patch Set 3: (1 comment) | --- gdb/testsuite/gdb.cp/pass-by-ref.exp | +++ gdb/testsuite/gdb.cp/pass-by-ref.exp | @@ -24,4 +343,18 @@ foreach state $all_combinations { | + append stmts [generate_stmts "Derived" $state] | + | + append classes [generate_container_class $state] | + append stmts [generate_stmts "Container" $state "cbv_container"] | +} | + | +# Generate the program code and compile | +set program [generate_program $classes $stmts] | +set testfolder [file dirname $testfile] | +gdb_produce_source ${srcdir}/${subdir}/$srcfile $program PS2, Line 352: I updated the patch to delete the source from the repository and to generate it in the test's output directory instead. Does this look OK? | + | +set options {debug c++ additional_flags=-std=c++11} | +if {[prepare_for_testing "failed to prepare" $testfile $srcfile $options]} { | return -1 | } | | -if ![runto_main] then { | +if {![runto_main]} { | + untested "failed to run to main" -- Gerrit-Project: binutils-gdb Gerrit-Branch: master Gerrit-Change-Id: Ie8ab1f260c6ad5ee4eb34b2c1597ce24af04abb6 Gerrit-Change-Number: 142 Gerrit-PatchSet: 3 Gerrit-Owner: Tankut Baris Aktemur Gerrit-Reviewer: Tankut Baris Aktemur Gerrit-CC: Tom Tromey Gerrit-Comment-Date: Sat, 14 Dec 2019 09:56:27 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Tom Tromey Gerrit-MessageType: comment