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

Skip to content
Commit 067fe1e9 authored by Lloyd Pique's avatar Lloyd Pique
Browse files

SF: Optionally skip slow unittests

TimeStatsTest::canDumpWithInvalidMaxLayers can take many seconds to run
(even a full minute, depending on the target).

Add a new flag "--no-slow" for libsurfaceflinger_unittests which will
cause it to skip slow tests like these, and add a check to that test
which checks for that flag to skip it.

To run use it with atest, you need to use:

    atest libsurfaceflinger_unittest -- --module-arg libsurfaceflinger_unittest:native-test-flag:--no-slow

Bug: None
Test: atest libsurfaceflinger_unittest

Change-Id: I433c1707eb52866fb9f5c61956db338cc5c58723
parent 154defa6
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