Fix gtest crash when running TestTextureCompatibility and CompositorConstruct locally

RESOLVED FIXED in Firefox 59

Status

()

enhancement
P3
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: aosmond, Assigned: aosmond)

Tracking

unspecified
mozilla59
Points:
---

Firefox Tracking Flags

(firefox59 fixed)

Details

(Whiteboard: [gfx-noted])

When I run gfx tests locally on Ubuntu on a debug build, I found that TestTextureCompatibility and CompositorConstruct crash due to gfxPlatform::Init not yet having been called. It is possible being run as a group avoids the issue somehow on taskcluster, but they consistently fail due to the crash/assert for me.

We just need to call gfxPlatform::Init at the start of the relevant tests.
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [gfx-noted]
Pushed by aosmond@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7eb0145c73ea
Ensure certain gfx gtests are initialized properly. r=aosmond
https://hg.mozilla.org/mozilla-central/rev/7eb0145c73ea
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.