Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 05f38d15 authored by Daniele Di Proietto's avatar Daniele Di Proietto
Browse files

FrameTraceTest: Account for extra perfetto trace packet

Due to a bug in perfetto, the last trace packet was always lost. The
test worked around that by making sure that there always was a
meaningless packet at the end, often created with traceTimestamp(...
UNSPECIFIED).

Now the bug in perfetto is being fixed.

We cannot simply remove traceTimestamp(... UNSPECIFIED) everywhere
because often that also generated useful packets.

This CL fixes the problem by updating the expectations to consider this
last packet as well.

Also, some EXPECT are converted to ASSERT, to prevent accessing invalid
memory if the tests fail.

Bug: 162206162
Change-Id: Ibf7b83bd3953ab575ea6ebc350123cea830fecd2
parent c3ad2e35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment