Merge lp:~afrantzis/lava-test/spandex-gles2 into lp:lava-test/0.0

Proposed by Alexandros Frantzis
Status: Merged
Merged at revision: 132
Proposed branch: lp:~afrantzis/lava-test/spandex-gles2
Merge into: lp:lava-test/0.0
Diff against target: 45 lines (+41/-0)
1 file modified
abrek/test_definitions/spandex-gles2.py (+41/-0)
To merge this branch: bzr merge lp:~afrantzis/lava-test/spandex-gles2
Reviewer Review Type Date Requested Status
Zygmunt Krynicki (community) Approve
Paul Larson Pending
Review via email: mp+42243@code.launchpad.net

Description of the change

Test definition for spandex-gles2 benchmark.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'abrek/test_definitions/spandex-gles2.py'
--- abrek/test_definitions/spandex-gles2.py 1970-01-01 00:00:00 +0000
+++ abrek/test_definitions/spandex-gles2.py 2010-11-30 14:24:42 +0000
@@ -0,0 +1,41 @@
1# Copyright (c) 2010 Linaro Limited
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16import abrek.testdef
17
18spandex_benchmark = "/usr/share/spandex/bd/benchmarks/opengles2/benchmark_smoke.txt"
19
20INSTALL_STEPS = [
21 'sudo add-apt-repository ppa:linaro-maintainers/user-platforms',
22 'sudo apt-get update',
23 'sudo apt-get install -y --force-yes spandex-gles2 spandex-benchmarks-gles2'
24 ]
25
26RUNSTEPS = [
27 "spandex-gles2 %s > /dev/null" % spandex_benchmark,
28 "python /usr/share/spandex/bd/python/wikireport.py result.txt"
29 ]
30
31PATTERN = "^\|\s+(?P<test_case_id>[^|]+?)\s+\|\s+(?P<measurement>\d+(\.\d+)?)"
32
33inst = abrek.testdef.AbrekTestInstaller(INSTALL_STEPS,
34 deps=["python-software-properties"])
35run = abrek.testdef.AbrekTestRunner(RUNSTEPS)
36parse = abrek.testdef.AbrekTestParser(PATTERN,
37 appendall={'units':'reps/s',
38 'result':'pass'})
39
40testobj = abrek.testdef.AbrekTest(testname="spandex-gles2", installer=inst,
41 runner=run, parser=parse)

Subscribers

People subscribed via source and target branches