Open Bug 1337013 Opened 3 years ago Updated 2 years ago
Make gtest mach command invoke rungtests
The `mach gtest` command is what developers use to run gtests locally: https://dxr.mozilla.org/mozilla-central/rev/1d025ac534a6333a8170a59a95a8a3673d4028ee/python/mozbuild/mozbuild/mach_commands.py#871 rungtests.py is what we use to run gtests in automation: https://dxr.mozilla.org/mozilla-central/source/testing/gtest/rungtests.py The former does not currently invoke the latter, which is kind of terrible! It basically duplicates all the logic. It would be great to fix that. This should be a mostly-straightforward bug for someone who knows Python. The other test harnesses and mach commands that invoke them should be a useful reference for a nicer way to do things.
(bug 1337012 is some unrelated cleanup work that'd also touch the mach command.)
You need to log in before you can comment on or make changes to this bug.