1. 14 1月, 2016 2 次提交
    • C
      avocado/core/loader.py: make sure loaders are only registered once · 2a072daf
      Cleber Rosa 提交于
      Long story short, after taking a look at:
      
      https://github.com/avocado-framework/avocado-vt/issues/322
      
      I noticed that, on purpose, the VirtTestLoader class would be registered
      both by `avocado_vt/plugins/vt.py` and avocado_vt/plugins/vt_list.py`.
      The reasoning is simply to keep plugins independent, without depending
      on each other.
      
      But, it turns out the registering the loader on both places doubles the
      time it takes to find VT tests. Without this patch:
      
      $ /usr/bin/time ./scripts/avocado list > /dev/null
      9.52user 0.17system 0:09.68elapsed 100%CPU (0avgtext+0avgdata 189528maxresident)k
      0inputs+3744outputs (0major+63564minor)pagefaults 0swaps
      
      With this patch:
      
      $ /usr/bin/time ./scripts/avocado list > /dev/null
      5.47user 0.13system 0:05.60elapsed 100%CPU (0avgtext+0avgdata 145716maxresident)k
      0inputs+1920outputs (0major+51958minor)pagefaults 0swaps
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      2a072daf
    • L
      Merge pull request #955 from clebergnu/test_names_unique_v2 · d11d1a9a
      Lukáš Doktor 提交于
      loader: make test methods unique when discovering tests [v2]
      d11d1a9a
  2. 13 1月, 2016 2 次提交
  3. 12 1月, 2016 1 次提交
  4. 09 1月, 2016 4 次提交
  5. 08 1月, 2016 11 次提交
  6. 07 1月, 2016 9 次提交
  7. 06 1月, 2016 3 次提交
  8. 05 1月, 2016 4 次提交
  9. 04 1月, 2016 2 次提交
  10. 30 12月, 2015 2 次提交