mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
Mark Mentovai
0cc63d4a45
android: Make run_tests.py work on Android versions before 7.0 (N)
I took yesterday’s work and tried using it to run tests on a Nexus 4 running 5.1.1 (L), and absolutely nothing worked. The highlights: - There’s no /system/bin/mktemp. - There’s no /system/bin/env. - “adb shell” doesn’t know what the command’s exit status was. While I’m in here, I’ll also make colored gtest output work, although it won’t work on the normal Windows console which doesn’t understand ANSI color codes. (It might work in Cygwin?) Plus some bonus bloopers: - I was trying to catch an exception that isn’t even defined in Python 2! - The part of the script that tells you what test it’s about to run had fallen into a conditional block, preventing it from being shown except when running end_to_end_test.py. Bug: crashpad:30 Change-Id: I98fc410f90a2b4e91cb3cacb6a8decf2a8c2252b Reviewed-on: https://chromium-review.googlesource.com/818125 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Scott Graham <scottmg@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%