diff options
| author | 2018-12-06 19:44:13 -0800 | |
|---|---|---|
| committer | 2018-12-10 18:23:04 -0800 | |
| commit | 067fe1e9bf09537588f601272ec54d3b4437fa41 (patch) | |
| tree | 5968bdf094da9bd813121c4f840951a6976f2fd8 /services/surfaceflinger/BufferLayer.cpp | |
| parent | 154defa6560c279a078b30f1da5e2f502ecebf19 (diff) | |
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
Diffstat (limited to 'services/surfaceflinger/BufferLayer.cpp')
0 files changed, 0 insertions, 0 deletions