SoftwareTesting:Tools:jsshHowTo: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 30: Line 30:
checkout source via make
checkout source via make


<pre>make client.mk checkout</pre>
<pre>make -f client.mk checkout</pre>


add jssh extension to source
add jssh extension to source

Revision as of 21:39, 3 February 2007

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 -f 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