Merge lp:~afrantzis/lava-test/x11perf into lp:lava-test/0.0

Proposed by Alexandros Frantzis
Status: Merged
Merged at revision: 50
Proposed branch: lp:~afrantzis/lava-test/x11perf
Merge into: lp:lava-test/0.0
Diff against target: 42 lines (+38/-0)
1 file modified
abrek/test_definitions/x11perf.py (+38/-0)
To merge this branch: bzr merge lp:~afrantzis/lava-test/x11perf
Reviewer Review Type Date Requested Status
Paul Larson Pending
Review via email: mp+37248@code.launchpad.net

Description of the change

Add x11perf test definition.

To post a comment you must log in.
Revision history for this message
Paul Larson (pwlars) wrote :

"test_case_id": "Fill 2x300 aa trap",
Noticed this in the results. Dashboard apparently doesn't deal with spaces in the id. For now at least, we will need to convert these to _. Also the ()'s in some of them will have to be stripped.
a-zA-Z0-9_-. are the only legal characters for it

Also, if you could add the boilerplate license header, that would be great. Otherwise I can add that myself.

Thanks!

Revision history for this message
Paul Larson (pwlars) wrote :

I made some changes to deal with the above comments and merged.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'abrek/test_definitions/x11perf.py'
--- abrek/test_definitions/x11perf.py 1970-01-01 00:00:00 +0000
+++ abrek/test_definitions/x11perf.py 2010-10-01 13:21:06 +0000
@@ -0,0 +1,38 @@
1import abrek.testdef
2
3x11perf_options = "-repeat 3"
4
5x11perf_tests = [
6 # Antialiased text (using XFT)
7 "-aa10text",
8 "-aa24text",
9
10 # Antialiased drawing (using XRENDER)
11 "-aatrapezoid300",
12 "-aatrap2x300",
13
14 # Normal blitting
15 "-copypixwin500",
16 "-copypixpix500",
17
18 # Composited blitting
19 "-comppixwin500",
20
21 # SHM put image
22 "-shmput500",
23 "-shmputxy500",
24
25 "-scroll500",
26 ]
27
28RUNSTEPS = ["x11perf %s %s" % (x11perf_options, " ".join(x11perf_tests))]
29PATTERN = "trep @.*\(\W*(?P<measurement>\d+.\d+)/sec\):\W+(?P<test_case_id>.+)"
30
31inst = abrek.testdef.AbrekTestInstaller(deps=["x11-apps"])
32run = abrek.testdef.AbrekTestRunner(RUNSTEPS)
33parse = abrek.testdef.AbrekTestParser(PATTERN,
34 appendall={'units':'reps/s',
35 'result':'pass'})
36
37testobj = abrek.testdef.AbrekTest(testname="x11perf", installer=inst,
38 runner=run, parser=parse)

Subscribers

People subscribed via source and target branches