From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7453 invoked by alias); 4 Jan 2005 18:28:24 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 7377 invoked from network); 4 Jan 2005 18:28:15 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 4 Jan 2005 18:28:15 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j04ISEhX023856 for ; Tue, 4 Jan 2005 13:28:14 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j04ISEr26402; Tue, 4 Jan 2005 13:28:14 -0500 Received: from tortoise.toronto.redhat.com (IDENT:U2FsdGVkX199aOpL7S4F+FAG8J+tCPJ2JPen8OddTTM@tortoise.toronto.redhat.com [172.16.14.92]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id j04ISEoS003930; Tue, 4 Jan 2005 13:28:14 -0500 Subject: Re: Patch: GUI testing framework From: Thomas Fitzsimmons To: Michael Koch Cc: mauve-discuss@sources.redhat.com In-Reply-To: <200501041836.44020.konqueror@gmx.de> References: <1104795399.6374.117.camel@tortoise.toronto.redhat.com> <200501041002.30797.konqueror@gmx.de> <1104856780.6374.135.camel@tortoise.toronto.redhat.com> <200501041836.44020.konqueror@gmx.de> Content-Type: text/plain Date: Tue, 04 Jan 2005 18:28:00 -0000 Message-Id: <1104863294.6374.156.camel@tortoise.toronto.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q1/txt/msg00006.txt.bz2 On Tue, 2005-01-04 at 18:36 +0100, Michael Koch wrote: > Am Dienstag, 4. Januar 2005 17:39 schrieb Thomas Fitzsimmons: > > On Tue, 2005-01-04 at 10:02 +0100, Michael Koch wrote: > > > Am Dienstag, 4. Januar 2005 00:36 schrieb Thomas Fitzsimmons: > > > > Hi, > > > > > > > > This patch adds support to batch_run for running GUI tests, > > > > either within an Xvfb server (default) or directly on the > > > > tester's desktop. It also introduces the GUI tag; all tests > > > > that require DISPLAY to be set should be tagged as GUI tests. > > > > > > > > I tested this with the java.awt.Robot tests I posted last week. > > > > The tests run properly both within Xvfb and on my desktop. > > > > > > Nice. Classpath has it now too, so we can generally test it too > > > directly. > > > > > > > I would like to rely on the metacity window manager, since it > > > > handles inset sizing correctly. > > > > > > Depending on a specific window manager is stupid. It just makes > > > the hurdles for users of mauve higher. If we have problems with a > > > specific window manager and its his fault and not ours we should > > > report bugs. > > > > OK. Can we default to metacity? I'm thinking of: > > > > if test "x$WM" = "x" ; then > > WM=metacity > > fi > > > > Then you could set WM on the command line. > > Why do you need the window manager at all ? Where does the $WM value > get used ? > You don't need a window manager, but having one makes for a more realistic testing environment. With the patch I just posted, you can set WM=/bin/true to run without a window manager. Tom