From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19315 invoked by alias); 14 Jan 2013 19:56:52 -0000 Received: (qmail 19307 invoked by uid 22791); 14 Jan 2013 19:56:51 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f53.google.com (HELO mail-vb0-f53.google.com) (209.85.212.53) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jan 2013 19:56:46 +0000 Received: by mail-vb0-f53.google.com with SMTP id b23so3886239vbz.40 for ; Mon, 14 Jan 2013 11:56:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.157.9 with SMTP id z9mr103664464vcw.45.1358193405912; Mon, 14 Jan 2013 11:56:45 -0800 (PST) Received: by 10.220.150.82 with HTTP; Mon, 14 Jan 2013 11:56:45 -0800 (PST) Date: Mon, 14 Jan 2013 19:56:00 -0000 Message-ID: Subject: dg-extract-results.sh truncates logs containing "Running " From: David Blaikie To: gdb-patches@sourceware.org Content-Type: multipart/mixed; boundary=f46d043bdffa7ee71204d3450b78 X-IsSubscribed: yes 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 X-SW-Source: 2013-01/txt/msg00289.txt.bz2 --f46d043bdffa7ee71204d3450b78 Content-Type: text/plain; charset=ISO-8859-1 Content-length: 505 The regex to detect the beginning of a test file execution was too broad, matching any line beginning with "Running ". This caused dg-extract-results.sh to truncate some test logs, including gdb.base/help.exp (which tests "help running", printing "Running the program.") The attached patch makes the match a little more precise to avoid this. With this the exact count of PASS/FAIL/etc lines in the dg-extract-results.sh output matches the counts in the computed summary exactly for all cases I've seen. --f46d043bdffa7ee71204d3450b78 Content-Type: application/octet-stream; name="extract-running.diff" Content-Disposition: attachment; filename="extract-running.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hby171t80 Content-length: 574 ZGlmZiAtLWdpdCBnZGIvdGVzdHN1aXRlL2RnLWV4dHJhY3QtcmVzdWx0cy5z aCBnZGIvdGVzdHN1aXRlL2RnLWV4dHJhY3QtcmVzdWx0cy5zaAppbmRleCA1 NzQ4MzNlLi5jNjdiNWNhIDEwMDc1NQotLS0gZ2RiL3Rlc3RzdWl0ZS9kZy1l eHRyYWN0LXJlc3VsdHMuc2gKKysrIGdkYi90ZXN0c3VpdGUvZGctZXh0cmFj dC1yZXN1bHRzLnNoCkBAIC0yODYsNyArMjg2LDcgQEAgQkVHSU4gewogL15V c2luZyAvIHsKICAgaWYgKHZhcmlhbnQgPT0gY3VydmFyICYmIHByaW50X3Vz aW5nKSB7IHByaW50OyBuZXh0IH0KIH0KLS9eUnVubmluZyAvIHsKKy9eUnVu bmluZyAuKlxcLmV4cCBcXC5cXC5cXC4vIHsKICAgcHJpbnRfdXNpbmc9MAog ICBpZiAodmFyaWFudCA9PSBjdXJ2YXIpIHsKICAgICBpZiAobmVlZF9jbG9z ZSkgY2xvc2UoY3VyZmlsZSkK --f46d043bdffa7ee71204d3450b78--