harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavlenko, Andrey A" <andrey.a.pavle...@intel.com>
Subject RE: [classlib][awt]Is there any testing parameters to exclude awt test cases ?
Date Fri, 02 Feb 2007 08:24:24 GMT

To avoid this issue you can run Xserver on your local system and log on
to the remote system using ssh -X command. In this case ssh will forward
all X11 connections to your local Xserver.

Also you can use an emulator of Xserver, for example Xvfb.
Before running the tests perform the following commands on the remote
Xvfb :0
export DISPLAY=:0

-----Original Message-----
From: Spark Shen [mailto:smallsmallorgan@gmail.com] 
Sent: Friday, February 02, 2007 8:40 AM
To: dev@harmony.apache.org
Subject: [classlib][awt]Is there any testing parameters to exclude awt
test cases ?

Hi All:

I have a remote red-hat system, and could only log on to it using ssh.
running all tests, awt related tests keep failing:

java.lang.NullPointerException at
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:470) at
java.awt.MenuComponent.<init>(MenuComponent.java:50) at
.<init>(MenuItem.java:208) at
java.awt.MenuItem.<init>(MenuItem.java:191) at
java.awt.CheckboxMenuItem.<init>(CheckboxMenuItem.java:92) at

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

Best regards

Spark Shen
China Software Development Lab, IBM

View raw message