Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1313488 - Part 1: Convert XPCOM test TestDeadlockDetector to a gt…
Browse files Browse the repository at this point in the history
…est. r=froydnj

This converts TestDeadlockDetector to a gtest. The logic for spawning off
subprocesses is replaced with gtest's built-in death tests. On linux this will
clone() the process and assert that the child process generates the appropriate
assertion message. On OSX it will use fork(). In theory this should work on
Windows as well buy spawning a new process but this test currently disabled
there.

MozReview-Commit-ID: 9Sl0hHBVGT3
  • Loading branch information
EricRahm committed Nov 10, 2016
1 parent a7fcffc commit 4ac5b47
Show file tree
Hide file tree
Showing 5 changed files with 329 additions and 569 deletions.
2 changes: 0 additions & 2 deletions testing/cppunittest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ skip-if = os != 'win'
[TestCookie]
[TestCountPopulation]
[TestCountZeroes]
[TestDeadlockDetector]
skip-if = os == 'b2g' || (os == 'android' && debug) # Bug 1054249
[TestDeadlockDetectorScalability]
[TestDllInterceptor]
skip-if = os != 'win'
Expand Down
Loading

0 comments on commit 4ac5b47

Please sign in to comment.