1. 13 5月, 2017 5 次提交
    • L
      Merging pull request 1992 · e50041a8
      Lukáš Doktor 提交于
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      
      * https://github.com/avocado-framework/avocado:
        Human interface: do not show tests execution time
        Human Interface: show job execution time
        Job: add time accounting
        Job Pre/Post plugins: move them to the appropriate location
      e50041a8
    • C
      Human interface: do not show tests execution time · 2c5b18a3
      Cleber Rosa 提交于
      This is a UI tweak, as suggested during review, to remove the tests
      time.
      
      It's kept separately, because it can be easily dropped if any reason
      to keep it arises.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2c5b18a3
    • C
      Human Interface: show job execution time · 9b307c7c
      Cleber Rosa 提交于
      A long standing task is to show the job execution time, instead of the
      sum of tests execution time.  After some major work, this is now
      possible.
      
      This change adds the job execution time to the human interface UI, in
      addition to the test execution time.  Some users may prefer the job
      execution time alone, while others may prefer all the time statistics
      on a single line.
      
      Since we cannot please everyone, this version just adds it.  I believe
      UI tweaks can follow.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      9b307c7c
    • C
      Job: add time accounting · c632993f
      Cleber Rosa 提交于
      It may be useful to users of the Job class to have information on how
      much time it took for it to run.  Since the goal for the Job class is
      to be flexible when it comes to its usage, it may not be possible to
      track the execution time if users follow a different path.
      
      For now, the time accouting is done automatically if users use the
      `run()` method.
      
      If advanced users of the Job class choose to set the start time, end
      time and elapsed time themselves, they are free to do it and `run()`
      will never overwrite it.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      c632993f
    • C
      Job Pre/Post plugins: move them to the appropriate location · 5c375c51
      Cleber Rosa 提交于
      The JobPre and JobPost plugin interfaces were intended to be run
      before and after the job, but in reality they have been executed
      at different points *within* the job execution.
      
      This puts the execution of those plugins at their original intended
      location:
      
       * Plugins implementing JobPre will be executed right after the Job
         instance is created, *before any other action*, such as the
         creation of the test suite.
      
       * Plugins implementing JobPost will be executed right after the Job
         instance `run()` method.
      
       * Plugins implementing `Result` will be executed after JobPost ones.
      
      Users relying on the old location please take notice.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      5c375c51
  2. 12 5月, 2017 1 次提交
  3. 11 5月, 2017 1 次提交
  4. 06 5月, 2017 3 次提交
  5. 05 5月, 2017 4 次提交
  6. 04 5月, 2017 12 次提交
  7. 03 5月, 2017 6 次提交
  8. 02 5月, 2017 2 次提交
  9. 30 4月, 2017 2 次提交
  10. 28 4月, 2017 3 次提交
  11. 27 4月, 2017 1 次提交