SoftwareTesting:Tools:jsshHowTo

From MozillaWiki
Revision as of 21:50, 3 February 2007 by Taf2 (talk | contribs) (→‎requirements)
Jump to navigation Jump to search

jssh test harness documentation

Dave Liebreich has documented this and will likely contain updates as he moves forward with this test harness.

requirements

python (2.3 or greater)

firefox 1.5 with jssh - built with mozconfig

. $topsrcdir/browser/config/mozconfig

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
mk_add_options MOZ_OBJDIR=@topsrcdir@/../objdir/browser
# mk_add_options MOZ_CO_MODULE=mozilla/js/tests

ac_add_options --enable-extensions=default,jssh
mk_add_options MOZ_MAKE_FLAGS="-j4"

firefox 2.0 with jssh

pull MOZILLA_1_8_BRANCH from cvs

cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk

or, checkout the client.mk

cvs co -r MOZILLA_1_8_BRANCH mozilla/client.mk

checkout source via make

make -f client.mk checkout MOZ_CO_PROJECT=browser

add jssh extension to source

cvs co -D 2006-04-15 mozilla/extensions/jssh

modify the mozilla/browser/config/mozconfig file with the above extensions modifications.

build the package

make -f client.mk build

python test harness and jssh driver

JSSH Test Harness Spike