Closed Bug 549456 Opened 14 years ago Closed 14 years ago

Get unittests running manually on OSX 10.5/10.6

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lsblakk, Assigned: lsblakk)

References

Details

Get the unittest suites running manually on both 10.5 and 10.6.
No longer blocks: 549458
talos-r3-snow-001 and talos-r3-leopard-001 have been set aside for this work.

Please note when you are done with these boxes so that it can be put back in the production talos pool.
On both machines I did the following to run the tests manually:

grabbed build, tests, symbols from : 
	ftp://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-macosx/1268167481/

wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-macosx/1268167481/firefox-3.7a3pre.en-US.mac.dmg
wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-macosx/1268167481/firefox-3.7a3pre.en-US.mac.tests.tar.bz2
wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-macosx/1268167481/firefox-3.7a3pre.en-US.mac.crashreporter-symbols.zip

Unpack build:
bash /tools/build-tools/buildfarm/utils/installdmg.sh firefox-3.7a3pre.en-US.mac.dmg 

Unpack tests:
tar -jxvf firefox-3.7a3pre.en-US.mac.tests.tar.bz2

Unzip symbols into unittest/builds/symbols
unzip -o firefox-3.7a3pre.en-US.mac.crashreporter-symbols.zip -d build/symbols

Find the executable:
# exepath property
Minefield.app/Contents/MacOS/firefox-bin

RUN TESTS:

PackagedMochitests:
 python mochitest/runtests.py --appname=Minefield.app/Contents/MacOS/firefox-bin --utility-path=bin --extra-profile-file=bin/plugins --certificate-path=certs --autorun --close-when-done --console-level=INFO > mochitest_output.txt &

PackagedXPCShell:
export exedir=Minefield.app/Contents/MacOS/

cp bin/xpcshell $exedir
cp -R bin/components/* $exedir/components/ 
cp -R bin/plugins/* $exedir/plugins/ 

python -u xpcshell/runxpcshelltests.py --symbols-path=build/symbols --manifest=xpcshell/tests/all-test-dirs.list $exedir/xpcshell > xpcshell_output.txt &

Packaged{Reftest,JsReftest, Crashtest}:
 python reftest/runreftest.py --appname=Minefield.app/Contents/MacOS/firefox-bin --utility-path=bin reftest/tests/testing/crashtest/crashtests.list > crashtest_output.txt &
 python reftest/runreftest.py --appname=Minefield.app/Contents/MacOS/firefox-bin --utility-path=bin reftest/tests/layout/reftests/reftest.list > reftest_output.txt &
 python reftest/runreftest.py --appname=Minefield.app/Contents/MacOS/firefox-bin --utility-path=bin --extra-profile-file=jsreftest/tests/user.js jsreftest/tests/jstests.list >jsreftest_output.txt &
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
No longer blocks: 548768
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.