~le-chi-thu/linaro-graphics-tests/adapt-for-latest-lava-test

« back to all changes in this revision

Viewing changes to linaro_graphics_wg_tests/cairo_traces.py

  • Committer: Alexandros Frantzis
  • Date: 2011-05-05 10:51:06 UTC
  • Revision ID: alexandros.frantzis@linaro.org-20110505105106-umrlv9rrp93yot1r
Get some of packages needed for the benchmarks from the linaro-graphics-wg PPA.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import re
2
2
import abrek.testdef
3
3
 
 
4
INSTALL_STEPS = [
 
5
    'sudo add-apt-repository ppa:linaro-graphics-wg/ppa',
 
6
    'sudo apt-get update',
 
7
    'sudo apt-get install -y --force-yes linaro-graphics-traces-cairo libcairo2 cairo-perf-utils'
 
8
    ]
 
9
 
4
10
RUNSTEPS = ["CAIRO_TEST_TARGET=egl,xlib CAIRO_TRACE_DIR=/usr/share/linaro-graphics-traces-cairo/ cairo-perf-trace -i3"]
5
11
 
6
12
class CairoTracesParser(abrek.testdef.AbrekTestParser):
27
33
        self.fixids()
28
34
 
29
35
parse = CairoTracesParser(appendall={'units':'sec', 'result':'pass'})
30
 
inst = abrek.testdef.AbrekTestInstaller(deps=["linaro-graphics-traces-cairo",
31
 
                                              "cairo-perf-utils"])
 
36
inst = abrek.testdef.AbrekTestInstaller(INSTALL_STEPS,
 
37
                                        deps=['python-software-properties'])
32
38
run = abrek.testdef.AbrekTestRunner(RUNSTEPS)
33
39
 
34
40
testobj = abrek.testdef.AbrekTest(testname="cairo_traces", installer=inst,