mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
Mark Mentovai
13d0defbfb
android, win: Enable colored test output when available
Following the discussion at https://crrev.com/c/818125/3//COMMIT_MSG#17, this sets GTEST_COLOR=yes when running tests on an Android device via “adb” being driven from a Windows host. This is only done when standard output is attached to a console and when ENABLE_VIRTUAL_TERMINAL_PROCESSING is supported (it is on Windows 10). As usual, colored output can be suppressed by setting GTEST_COLOR=no. This is only partially tested. Instead of running on-device tests via adb, I substituted: print('\x1b[0;31mred\x1b[32mgreen\x1b[34mblue\x1b[0m') Change-Id: I3ef67f3890f18f7012111171a5e0eab4addca7b8 Reviewed-on: https://chromium-review.googlesource.com/819597 Reviewed-by: Scott Graham <scottmg@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
Crashpad
Crashpad is a crash-reporting system.
Documentation
- Project status
- Developing Crashpad: instructions for getting the source code, building, testing, and contributing to the project.
- Crashpad interface documentation
- Crashpad tool man pages
- Crashpad overview design
Source Code
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.
Other Links
- Bugs can be reported at the Crashpad issue tracker.
- The Crashpad Buildbots perform automated builds and tests.
- crashpad-dev is the Crashpad developers’ mailing list.
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%