~qzhang/lava-test/add-stream-dep

« back to all changes in this revision

Viewing changes to abrek/test_definitions/gtkperf.py

  • Committer: Paul Larson
  • Date: 2011-04-15 16:11:24 UTC
  • Revision ID: paul.larson@canonical.com-20110415161124-zwvhmzobdoy6pnk9
Add fixmeasurements() method to fix string measurements to be float.
Also add this to the classes derived by a few of the tests that needed
it

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                    if match:
44
44
                        self.results['test_results'].append(match.groupdict())
45
45
        self.appendtoall({'units':'seconds', 'result':'pass'})
 
46
        self.fixmeasurements()
46
47
 
47
48
parse = GtkTestParser()
48
49
inst = abrek.testdef.AbrekTestInstaller(deps=["gtkperf"])