Closed
Bug 944678
Opened 12 years ago
Closed 12 years ago
"Couldn't load XPCOM" when running mach gtest
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 883339
People
(Reporter: jkitch, Unassigned)
Details
I am unable to run gtests under Windows (using the latest unpatched mozilla-central). When I run "mach gtest" all that happens is that a dialogue appears saying "Couldn't load XPCOM". The build is otherwise successful, as Firefox will launch when called directly.
"mach gtest" console output:
0:01.59 C:/mozilla-build/msys/bin/sh.exe -c c:/mozilla-build/python/python.exe
c:/mozilla-central2/build/pymake/make.py -C testing/gtest -j2 -s -w gtest
0:02.17 c:\mozilla-central2\obj-i686-pc-mingw32\dist\bin\firefox.exe -unittest
My .mozconfig:
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --without-intl-api
ac_add_options --enable-test
ac_add_options --enable-gtest
Compilation environment:
Windows 8.1 64 bit
Visual Studio 2012 Update 4.
Updated•12 years ago
|
Component: General → Build Config
Product: Testing → Core
Comment 1•12 years ago
|
||
You typically see this error when the build is busted. Can you run xpcshell.exe or firefox.exe without error?
Flags: needinfo?(jkitch.bug)
Reporter | ||
Comment 2•12 years ago
|
||
firefox.exe and xpcshell.exe launch normally and I can run mochitests and reftests without issue.
Flags: needinfo?(jkitch.bug)
Comment 4•12 years ago
|
||
Yes, gtest isn't supported on windows. Typically it fails because of metro linking issues.
Flags: needinfo?(bgirard)
Comment 5•12 years ago
|
||
I should say our gtest hook up. We just need to solve the build problems.
Reporter | ||
Comment 6•12 years ago
|
||
Ah. I was aware that it wouldn't work with Metro, I was just hoping that it would work with Metro disabled (at least I think it is disabled. Metro still requires --enable-metro to build, doesn't it?)
Comment 7•12 years ago
|
||
It used to work on non metro but because it doesn't run on integration I'm not surprised it broke =\
Reporter | ||
Comment 8•12 years ago
|
||
With the patch from bug 883339, the error message no longer appears and "mach gtest" actually runs tests.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•