From dev-return-23856-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Fri Feb 02 14:35:28 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 35460 invoked from network); 2 Feb 2007 14:34:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 14:34:50 -0000 Received: (qmail 93584 invoked by uid 500); 2 Feb 2007 14:34:36 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 93208 invoked by uid 500); 2 Feb 2007 14:34:35 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 92655 invoked by uid 99); 2 Feb 2007 14:34:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 06:34:32 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 06:32:48 -0800 Received: from [192.168.1.104] (unknown [67.86.14.213]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id E79E351934 for ; Fri, 2 Feb 2007 09:32:19 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <473c46620702012139s267a2ff9x8cabfb4df3642750@mail.gmail.com> References: <473c46620702012139s267a2ff9x8cabfb4df3642750@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Geir Magnusson Jr." Subject: Re: [classlib][awt]Is there any testing parameters to exclude awt test cases ? Date: Fri, 2 Feb 2007 09:32:16 -0500 To: dev@harmony.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org I think we're missing the core error here. I had a set of problems that looked like this when getting CC working on a remote emt64t box (IOW, I wasn't at the console.) I needed to : 1) install xmu-dev and xtst-dev due to how we find and load libraries 2) needed to set DISPLAY=:0.0 3) xhost + to allow the tests to get a display before you start excluding the tests, can we figure out what's happening? geir On Feb 2, 2007, at 12:39 AM, Spark Shen wrote: > Hi All: > > I have a remote red-hat system, and could only log on to it using > ssh. When > running all tests, awt related tests keep failing: > testGetAccessibleActionErrorN/A > > java.lang.NullPointerException at java.awt.Toolkit. > (Toolkit.java:560) > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:470) at > java.awt.MenuComponent.(MenuComponent.java:50) at > java.awt.MenuItem > .(MenuItem.java:208) at java.awt.MenuItem. > (MenuItem.java:191) at > java.awt.CheckboxMenuItem.(CheckboxMenuItem.java:92) at > java.awt.AccessibleAWTCheckboxMenuItemTest.setUp( > AccessibleAWTCheckboxMenuItemTest.java:42) > > > I guess this is related with Xserver. Is this a problem? > If this is not a problem, is there any switch to turn those test > cases off? > > Best regards > > -- > Spark Shen > China Software Development Lab, IBM