From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13965 invoked by alias); 10 Oct 2007 14:49:03 -0000 Received: (qmail 13938 invoked by uid 48); 10 Oct 2007 14:48:53 -0000 Date: Wed, 10 Oct 2007 14:49:00 -0000 Message-ID: <20071010144853.13937.qmail@sourceware.org> From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070831223303.4985.cagney@redhat.com> References: <20070831223303.4985.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00029.txt.bz2 List-Id: ------- Additional Comments From mark at klomp dot org 2007-10-10 14:48 ------- Rewriting the regex expect as three separate ones reduces the matching time a lot for me (but the original didn't timeout either): diff -u -r1.11 TestStackCommands.java --- frysk-core/frysk/hpd/TestStackCommands.java 4 Oct 2007 17:23:04 -0000 1.11 +++ frysk-core/frysk/hpd/TestStackCommands.java 10 Oct 2007 13:59:42 -0000 @@ -87,19 +87,15 @@ } public void testFhpdVirtualStackTraceWithScopes () { - // This test is very very slow. - if (unresolved(4985)) - return; Proc proc = CoreFileAtSignal .constructCore("funit-inlined"); e = new HpdTestbed("core." + proc.getPid(), "Attached to core file.*"); e.send("where -scopes\n"); - e.expect (".*var3" + - ".*var2" + - ".*var1" + - ".*"); + e.expect (".*var3"); + e.expect (".*var2"); + e.expect (".*var1"); e.close(); } } -- http://sourceware.org/bugzilla/show_bug.cgi?id=4985 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.