Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Run XP debug unit tests, anyone?

10 views
Skip to first unread message

armenzg

unread,
Feb 16, 2011, 6:14:05 PM2/16/11
to
Hi,
I am trying to run XP debug unit tests on a machine without VS 2005
installed.

These are the steps that I follow:
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32-debug/1297891792/firefox-4.0b12pre.en-US.win32.zip
unzip -o firefox-4.0b12pre.en-US.win32.zip
wget
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32-debug/1297891792/firefox-4.0b12pre.en-US.win32.tests.zip
unzip -o firefox-4.0b12pre.en-US.win32.tests.zip

At this point my problems start. I can substitute running the unit
tests to just trying bin/xpcshell.exe (Remember to add to your PATH
the firefox directory).

There are 3 problems that I have but I have only been able to figure
out two of them:

Solution to 1st problem
##################
I place Microsoft.VC80.DebugCRT folder (from a build machine) into the
bin/ folder that comes from unzipping the tests package to avoid the
following message:
"This application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this
problem"

Solution to 2nd problem
##################
Once the DebugCRT directory is placed under the bin/ directory I have
to put the manifest file under firefox/
(Microsoft.VC80.DebugCRT.manifest) to avoid the following message:
"This application failed to initialize properly (0xc0150002)"

3rd one
######
The previous does not seem sufficient as I get the following:
"xpcshell.exe - Application Error" - The application failed to
initialize properly (0xc0000034). Click on OK to terminate the
application"

Here is the depend walker output:
http://pastebin.mozilla.org/1070189

cheers,
Armen

FTR: python mochitest/runtests.py --appname=firefox/firefox.exe --
utility-path=bin --extra-profile-file=bin/plugins --symbols-
path=symbols --certificate-path=certs --autorun --close-when-done --
console-level=INFO --total-chunks=5 --this-chunk=1 --chunk-by-dir=4

0 new messages