From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23840 invoked by alias); 11 Jan 2011 23:42:02 -0000 Received: (qmail 23830 invoked by uid 22791); 11 Jan 2011 23:42:00 -0000 X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Jan 2011 23:41:55 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0BNfq24011084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Jan 2011 18:41:53 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0BNfpTm012207 for ; Tue, 11 Jan 2011 18:41:52 -0500 From: Phil Muldoon To: gdb@sourceware.org Subject: runtest gdb testsuite oddities. Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Tue, 11 Jan 2011 23:42:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-01/txt/msg00033.txt.bz2 Toms check-in today regarding the failure in py-infthread.exp had me exploring why I did not see it. For some reason when one runs: runtest gdb.python/*.exp the testsuite seems to pass just fine. But when one runs just one (failing) exp file, the test fails as it should. I'm not sure why, and my fu regarding dejagnu is very slim. Can anyone explain what is going on here? Hopefully it is something silly I have done. For reference, x8664 running Fedora 14. Cheers, Phil -- Attached log: [pmuldoon@localhost testsuite]$ runtest gdb.python/*.exp WARNING: Couldn't find the global config file. Test Run By pmuldoon on Tue Jan 11 22:03:49 2011 Native configuration is x86_64-unknown-linux-gnu === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../gdb/gdb/testsuite/gdb.python/py-template.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-mi.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-cmd.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-block.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-infthread.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-type.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-prettyprint.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-frame.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-error.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-function.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-shared.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-pp-maint.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-parameter.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-value.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-section-script.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/lib-types.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-inferior.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-symtab.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/python.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-symbol.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-breakpoint.exp ... Running ../../../gdb/gdb/testsuite/gdb.python/py-progspace.exp ... === gdb Summary === # of expected passes 851 # of known failures 1 /home/pmuldoon/git/test_py/obj/gdb/testsuite/../../gdb/gdb version 7.2.50.20110111-cvs -nw -nx -data-directory /home/pmuldoon/git/test_py/obj/gdb/testsuite/../data-directory [pmuldoon@localhost testsuite]$ runtest gdb.python/py-infthread.exp WARNING: Couldn't find the global config file. Test Run By pmuldoon on Tue Jan 11 22:04:16 2011 Native configuration is x86_64-unknown-linux-gnu === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../../gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../gdb/gdb/testsuite/gdb.python/py-infthread.exp ... ERROR: (DejaGnu) proc "gdb_py_test_silent_cmd {python t0 = gdb.selected_thread ()} {test gdb.selected_thread} 1" does not exist. The error code is NONE The info on the error is: close: spawn id exp5 not open while executing "close -i exp5" invoked from within "catch "close -i $spawn_id"" === gdb Summary === /home/pmuldoon/git/test_py/obj/gdb/testsuite/../../gdb/gdb version 7.2.50.20110111-cvs -nw -nx -data-directory /home/pmuldoon/git/test_py/obj/gdb/testsuite/../data-directory