1. 29 7月, 2015 5 次提交
  2. 28 7月, 2015 5 次提交
  3. 24 7月, 2015 1 次提交
  4. 21 7月, 2015 2 次提交
  5. 20 7月, 2015 2 次提交
    • L
      avocado.core.job: Start logging earlier and add root_logger by default · 9e15e64e
      Lukáš Doktor 提交于
      Avocado defines own logging streams, all non-matching streams should
      go to the job log.
      
      This patch enables logging right after we setup the result direcotry to
      allow the job to log early messages for example from test-discovery
      directly into the job log.
      
      Additionally this patch increases the module column in logging as lots
      of module names are longer than 8 chars.
      
      As the last change this removes the "avocado.linux" stream as it not
      used anywhere.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      9e15e64e
    • L
      avocado.core.loader: Refactor test loader to be consistent · 3573b193
      Lukáš Doktor 提交于
      Previously the "file" loader was special and always matched the URL
      which might be confusing and lead to problems when developing additional
      plugins.
      
      This commit tires to define the way loaders should work. They must never
      fail (unless of uncaught exception which is reported and next available
      plugins is used). Instead when the URL produces broken test or even a
      single corrupted subtest, consider it as URL not for me and return empty
      set. The loader proxy uses next plugin to resolve this URL. When no
      plugin resolves the URL user is advised to run "avocado list -V" to see
      the potential problems.
      
      The order of loader plugins was also changed. Now the file-loader is
      first by default and all remaining ones are loaded by the plugin
      priority. The order can be changed in setting
      "plugins/loader_plugins_priority". It uses "name" variable of the each
      loader plugin. Not listed plugins are loaded afterwards.
      
      Additionally the whole loader API was simplified. Now it only accepts
      one parameter - list_tests - which is 3-state:
      
      1. ALL       - all tests including broken/incorrect ones
      2. AVAILABLE - available tests (for listing purposes)
      2. DEFAULT   - default tests (to run when no url given)
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      3573b193
  6. 16 7月, 2015 3 次提交
  7. 13 7月, 2015 3 次提交
  8. 08 7月, 2015 2 次提交
  9. 07 7月, 2015 17 次提交