1. 12 8月, 2016 4 次提交
  2. 11 8月, 2016 1 次提交
  3. 10 8月, 2016 4 次提交
  4. 09 8月, 2016 11 次提交
  5. 05 8月, 2016 1 次提交
  6. 04 8月, 2016 10 次提交
    • C
      a03e97d7
    • C
      Merge remote-tracking branch 'ldoktor/process_poll2' · b8e27b59
      Cleber Rosa 提交于
      b8e27b59
    • C
      Wrappers: add support for rr · 2002a76f
      Cleber Rosa 提交于
      This example wrapper script runs binaries inside rr (record), which
      saves the execution environment, allowing to deterministically debug
      possible failures later.
      
      The usage instructions to run tests with this wrapper are no different
      than other wrappers.  The effect of the wrapper, though, deserves notice:
      it creates an "rr" directory inside the test results, which rr uses
      to save its data files.
      
      Replays should be executed like this:
      
       $ rr replay $JOB-RESULTS/test-results/$TEST/data/rr/$BINARY_NUMBER
      
      Where $BINARY_NUMBER is the "Nth" execution of "binary" by your
      test.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2002a76f
    • C
      Result: remove command_line_arg_name attribute · 5c88b7ab
      Cleber Rosa 提交于
      With the change introduced in d205805b that changed how options request
      the use of the standard output, this attribute is no longer necessary.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      5c88b7ab
    • C
      Result: port JSON result plugin · d60991ff
      Cleber Rosa 提交于
      This moves all JSON result code to the plugin file.  With that, the
      core avocado has no knowledge about this plugin, as it should be.
      Still, the `results.json` is going to be generated by default, unless
      the command line option `--json-job-result` is set to `off`.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      d60991ff
    • C
      Result: port xUnit result · 43349c11
      Cleber Rosa 提交于
      This moves all xUnit code to the plugin file.  With that, the core
      avocado has no knowledge about this plugin, as it should be.  Still,
      the `results.xml` is going to be generated by default, unless the
      command line option `--xunit-job-result` is set to `off`.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      43349c11
    • C
      Result: introduce plugin interface and corresponding dispatcher · 05200036
      Cleber Rosa 提交于
      It's a known fact that the concept of results (as in job results) has
      been abused.  Runners implemented as results prove that.  This minimal
      interface is intended for Result implementations that render the
      complete result at once.  This is the case for most *real* result
      writer needs, such as XUnit, JSON (ported on the upcoming commits) and
      even the HTML report writer (port coming soon)
      
      Once all results are ported, the ResultProxy, our more custom and old
      fashioned form of a dispatcher, can be removed.  Then, the job
      attribute `result`, which is currently a ResultProxy instance with
      multiple Result* classes holding a lot of duplicate information, will
      be turned into a single instance.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      05200036
    • C
      Result: keep track of the state of all tests · 318ad9f5
      Cleber Rosa 提交于
      In a planned change of goal for the result class to actually hold one
      copy of the overall job results, and then introduce specific result
      formatters that will use that as the data to write varied result
      formats, let's add all test information to the result class.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      318ad9f5
    • C
      Result: be more specific about the the total time · c5c0913e
      Cleber Rosa 提交于
      By renaming the variables from `total_time` to `tests_total_time` it's
      hopefully going to be more clear that key hold the accumulated amount of
      time spent on tests.  When other time related attributes are added, such
      as the total job run time, it's going to be a lot easier to distinguish
      between them.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      c5c0913e
    • C
      Result: drop "Test" from TestResult related classes names · 5495257c
      Cleber Rosa 提交于
      The initial versions of Avocado focused on tests, and ommited a bit
      the idea of jobs.  This had the consequence of some unfit names, such
      as the TestResult class, which defines methods such as "start_tests".
      It's clear that a "Test" starting "tests" is either about a nested
      relationship or is badly named.
      
      Instead of replacing the name of the TestResult related classes to
      JobResult, which is currently our top level player in most of the
      Avocado use cases, let's just consider that this class holds the
      result of what Avocado runs.  It's an abstract name, but it's not
      vague because the individual attributes refer to the exact type of
      information that is being held.  For instance, `job_unique_id` is
      clearly about a Job, and `tests_run` is clearly about tests.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      5495257c
  7. 03 8月, 2016 9 次提交