mirror of
https://github.com/mvt-project/mvt.git
synced 2026-07-25 13:50:55 +02:00
Update WIP for dumpstate parser
This commit is contained in:
@@ -37,6 +37,9 @@ class TestAndroidArtifactDumpState:
|
||||
elif section["section_name"] == b"MODEM CRASH HISTORY":
|
||||
# Test parsing where section only has an error message
|
||||
assert len(section["lines"]) == 1
|
||||
assert section["lines"][0] == b"*** /data/tombstones//modem/mcrash_history: No such file or directory"
|
||||
assert (
|
||||
section["lines"][0]
|
||||
== b"*** /data/tombstones//modem/mcrash_history: No such file or directory"
|
||||
)
|
||||
|
||||
assert len(dumpstate.unparsed_lines) == 10
|
||||
assert len(dumpstate.unparsed_lines) == 11
|
||||
|
||||
@@ -271,8 +271,8 @@ Packages:
|
||||
------ 0.557s was the duration of 'DUMPSYS CRITICAL' ------
|
||||
------ 0.023s was the duration of 'DUMPSYS CRITICAL PROTO' ------
|
||||
------ SERIALIZE PERFETTO TRACE (perfetto --save-for-bugreport) ------
|
||||
test
|
||||
------ 0.036s was the duration of 'SERIALIZE PERFETTO TRACE' ------
|
||||
------ End of SERIALIZE PERFETTO TRACE (perfetto --save-for-bugreport) ------
|
||||
------ MODEM CRASH HISTORY (/data/tombstones//modem/mcrash_history) ------
|
||||
*** /data/tombstones//modem/mcrash_history: No such file or directory
|
||||
------ SYSTEM LOG (logcat -v threadtime -v printable -v uid -d *:v) ------
|
||||
|
||||
Reference in New Issue
Block a user