Open Bug 1545217 Opened 4 months ago Updated 4 months ago

Some gtests in xpcom/tests/gtest are not run on Android

Categories

(Core :: XPCOM, defect)

defect
Not set

Tracking

()

People

(Reporter: gbrown, Unassigned)

References

Details

(Keywords: leave-open)

Attachments

(2 files)

Bug 1318091 started running gtest on our Android 7.0 test platform: gtest runs in the geckoview TestRunnerActivity, against an x86_64 build, running in an emulator running Android 7.0 on packet.net.

Many gtests run fine and pass consistently, but others did not and have been disabled.

xpcom/tests/gtest test disabled on Android can be found at:

https://searchfox.org/mozilla-central/rev/d33d470140ce3f9426af523eaa8ecfa83476c806/xpcom/tests/gtest/moz.build#63

With changes from bug 1548555, some of the gtests previously disabled on Android
can be re-enabled.

Keywords: leave-open
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a2140a821425
Enable some android gtests in xpcom/tests/gtest; r=jmaher

I enabled this test yesterday, but it turns out it still crashes intermittently:
https://treeherder.mozilla.org/logviewer.html#?job_id=245063009&repo=autoland
https://taskcluster-artifacts.net/DJEiHJaJRaCYMWk2UMoR8A/0/public/test_info//logcat-emulator-5554.log
05-07 08:47:38.460 2530 2545 I gtest : TEST-START | Threads.Main
--------- beginning of crash
05-07 08:47:38.570 2530 2545 F libc : stack corruption detected
05-07 08:47:38.570 2530 2545 W google-breakpad: ExceptionHandler::GenerateDump cloned child

Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6e096360c85
Skip gtest TestThreads.cpp on android again; r=jmaher
You need to log in before you can comment on or make changes to this bug.