From owner-freebsd-java@FreeBSD.ORG Fri Feb 11 18:07:26 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB50106564A; Fri, 11 Feb 2011 18:07:26 +0000 (UTC) (envelope-from shildret@scotth.emsphone.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 977978FC18; Fri, 11 Feb 2011 18:07:26 +0000 (UTC) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.4/8.14.4) with ESMTP id p1BI7P53021871; Fri, 11 Feb 2011 12:07:25 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.4/8.14.4/Submit) id p1BI7P5K021870; Fri, 11 Feb 2011 12:07:25 -0600 (CST) (envelope-from shildret@scotth.emsphone.com) From: "Scott T. Hildreth" To: Jung-uk Kim In-Reply-To: <201102111255.03596.jkim@FreeBSD.org> References: <201101261721.58069.jkim@FreeBSD.org> <201102091507.19467.jkim@FreeBSD.org> <1297441474.15617.167.camel@scotth.emsphone.com> <201102111255.03596.jkim@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Feb 2011 12:07:25 -0600 Message-ID: <1297447645.15617.174.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-java@FreeBSD.org Subject: Re: [CFT] Update OpenJDK6 to b21 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2011 18:07:26 -0000 On Fri, 2011-02-11 at 12:54 -0500, Jung-uk Kim wrote: > On Friday 11 February 2011 11:24 am, Scott T. Hildreth wrote: > > Have you run the make test? >=20 > Yes, I have. jdk/test has passed 3292, failed 37, and got 2 errors=20 > with openjdk6-b21_1 on amd64 CURRENT. Couple of tests may need=20 > multiple runs to pass. I haven't figured out why, though. :-( >=20 > > I have 146 tests fail. Some of them look like x11 errors. Maybe > > this can't or shouldn't be run as root? >=20 > X11 problems are little tricky. What I usually do is: >=20 > su root > unsetenv SESSION_MANAGER > xhost + > (Note: "xhost +local:host" should work in theory but I haven't tried.) > make test >=20 > from an xterm session. >=20 > I was told that sudo does little better I am running the test with sudo and now all the X tests are running, the only errors I see so far are timeouts. > job cleaning up environment=20 > variables. I have tried "make test" from console as root once (which=20 > automatically pulls X.org virtual framebuffer server) but it didn't=20 > work well for some unknown reason. I've never tried it as a normal=20 > user. >=20 > Jung-uk Kim