User:Rcampbell/QA Projects

From MozillaWiki
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
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 client.mk checkout

add jssh extension to source

cvs co -D 2006-04-15 mozilla/extensions/jsshcvs checkout: Updating mozilla/extensions/jssh

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

build the package

make client.mk build

python test harness and jssh driver

JSSH Test Harness Spike