~pwlars/lava-test/dashboard-format-1.2

« back to all changes in this revision

Viewing changes to abrek/test_definitions/gtkperf.py

  • Committer: Paul Larson
  • Date: 2010-10-15 16:23:18 UTC
  • mfrom: (46.2.2 gtkperf-fixes)
  • Revision ID: paul.larson@canonical.com-20101015162318-x7ian1phh1s5dvby
Some fixes for gtkperf test

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# Run tests automatically, 500 repetitions each
20
20
gtkperf_options = "-a -c 500"
21
21
 
22
 
RUNSTEPS = ["gtkperf %s" % gtkperf_options]
 
22
RUNSTEPS = ["LANG=C gtkperf %s" % gtkperf_options]
23
23
 
24
24
class GtkTestParser(abrek.testdef.AbrekTestParser):
25
25
    def parse(self):
36
36
                    d['test_case_id'] = "%s.%s" % (d['test_case_id'],
37
37
                        d['subtest'])
38
38
                    d.pop('subtest')
 
39
                    d['test_case_id'] = d['test_case_id'].replace(" ", "_")
39
40
                    self.results['test_results'].append(d)
40
41
                else:
41
42
                    match = pat2.search(line)