User:Bienvenu/Cheat Sheet
In objdir/mailnews, to run a single test
make SOLO_FILE="test_viewWrapper_realFolder.js" -C base/test check-one (or check-interactive)
to run all unit tests
make xpcshell-tests > test-out
To run tests for a single directory, cd to objdir/<dir>/test pymake xpcshell-tests
in mail/test/mozmill, to run a single test
python runtest.py bloat/test_openWindows.js
or, using make, in objdir, to do a single test
make SOLO_TEST=folder-display/test-quick-search.js mozmill-one
to do a whole test directory
make SOLO_TEST=folder-display mozmill-one
to clone a new repository to tbirdrepo:
cd /
hg clone https://hg.mozilla.org/comm-central/ tbirdrepo
to pull a non-default version of mozilla-central:
python client.py --mozilla-repo="http://hg.mozilla.org/releases/mozilla-1.9.2" checkout
Error lookup http://silver.warwickcompsoc.co.uk/mozilla/misc/nserror
Try server builds https://wiki.mozilla.org/Thunderbird/Infrastructure/TryServer
jst review http://beaufour.dk/jst-review/
https://developer.mozilla.org/en/Writing_xpcshell-based_unit_tests#Platform-specific_tests
pymake - pull tree, then
mkdir objdir-tb cd objdir-tb ../configure pymake -f ../client.mk -sj4
After first configure, pymake seems to do a configure, so maybe ../configure is not needed
debug build as mapi 0 server - https://developer.mozilla.org/index.php?title=en/Thunderbird/Using_MAPI_with_Thunderbird%27s_Windows_7_developer_builds