Closed Bug 1430795 Opened 6 years ago Closed 6 years ago

Fix gtest crash when running TestTextureCompatibility and CompositorConstruct locally

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

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: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.