Add unit tests for android power.py parsing
Categories
(Testing :: Raptor, task, P1)
Tracking
(firefox70 fixed)
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
Details
Attachments
(2 files)
These tests will be similar to what was done for --cpu-test
in test_cpu.py: https://dxr.mozilla.org/mozilla-central/source/testing/raptor/test/test_cpu.py?q=test_cpu.py&redirect_type=direct
The tests should include:
- A test for GP2 parsing.
- A test for MotoG5 parsing.
- A test for Android OS baseline parsing.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
I'm attaching a start to these tests here. It requires 2 batterystats.txt files from a pixel 2, and moto g5 test run. Any test works but the expected values from parsing need to be calculated by hand.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
This patch adds three unit tests (in one file) to the set of the raptor tests. The tests include (i) an Android 8 power parsing test, (ii) an android 7 power parsing test, and (iii) a test for android OS baseline parsing (tested using android 8 data).
Assignee | ||
Comment 3•5 years ago
|
||
Try run for the added tests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f06817d6d0413f7be2a5d76945d097106ec87042
Assignee | ||
Updated•5 years ago
|
Pushed by gmierz2@outlook.com: https://hg.mozilla.org/integration/autoland/rev/62787e383696 Add unit tests for android power measurement parsing. r=perftest-reviewers,rwood
Comment 5•5 years ago
|
||
bugherder |
Description
•