parameters: (self, output, result_tracker)
return_statement: return result
docstring: Extracts trace results from the output.
  
      Args:
        output: Output object from the test run.
        result_tracker: Result tracker to be updated.
  
      Returns:
        The raw extracted result value or None if an error occurred.
docstring_summary: Extracts trace results from the output.
docstring_tokens: Extracts trace results from the output .
function: def ConsumeOutput(self, output, result_tracker):
      """Extracts trace results from the output.
  
      Args:
        output: Output object from the test run.
        result_tracker: Result tracker to be updated.
  
      Returns:
        The raw extracted result value or None if an error occurred.
      """
      result = None
      stddev = None
  
      try:
        result = float(
          re.search(self.results_regexp, output.stdout, re.M).group(1))
      except ValueError:
        result_tracker.AddError(
            'Regexp "%s" returned a non-numeric for test %s.' %
            (self.results_regexp, self.name))
      except:
        result_tracker.AddError(
            'Regexp "%s" did not match for test %s.' %
            (self.results_regexp, self.name))
  
      try:
        if self.stddev_regexp:
          if result_tracker.TraceHasStdDev(self):
            result_tracker.AddError(
                'Test %s should only run once since a stddev is provided by the '
                'test.' % self.name)
          stddev = re.search(self.stddev_regexp, output.stdout, re.M).group(1)
      except:
        result_tracker.AddError(
            'Regexp "%s" did not match for test %s.' %
            (self.stddev_regexp, self.name))
  
      if result:
        result_tracker.AddTraceResult(self, result, stddev)
      return result
function_tokens: def ConsumeOutput ( self , output , result_tracker ) : result = None stddev = None try : result = float ( re . search ( self . results_regexp , output . stdout , re . M ) . group ( 1 ) ) except ValueError : result_tracker . AddError ( 'Regexp "%s" returned a non-numeric for test %s.' % ( self . results_regexp , self . name ) ) except : result_tracker . AddError ( 'Regexp "%s" did not match for test %s.' % ( self . results_regexp , self . name ) ) try : if self . stddev_regexp : if result_tracker . TraceHasStdDev ( self ) : result_tracker . AddError ( 'Test %s should only run once since a stddev is provided by the ' 'test.' % self . name ) stddev = re . search ( self . stddev_regexp , output . stdout , re . M ) . group ( 1 ) except : result_tracker . AddError ( 'Regexp "%s" did not match for test %s.' % ( self . stddev_regexp , self . name ) ) if result : result_tracker . AddTraceResult ( self , result , stddev ) return result