1. 16 1月, 2016 1 次提交
    • A
      avocado.core: job replay support · a8e4c54d
      Amador Pahim 提交于
      job replay support using the run option "--replay "
      implements the job replay, retrieving the original job urls, multiplex and
      configuration.
      
      The option "--replay-test-status " is fully functional,
      allowing users to replay only the variants that faced a given status in
      the original job.
      
      To ignore some original job information, the option
      "--replay-job-ignore " can be used.
      
      Notice if can inform the urls and/or the multiplex using the command line.
      The options informed in the command line will be used, making the replay job ignore
      that information from the source job.
      Signed-off-by: NAmador Pahim <apahim@redhat.com>
      a8e4c54d
  2. 18 12月, 2015 18 次提交
  3. 13 9月, 2015 1 次提交
    • H
      setup.py: Set zip_safe flag to false · 43d64f26
      Hao Liu 提交于
      In module avocado.core.plugins.builtin, There is a calling of
      os.listdir() to iterate files in the installed python directory.
      
      If avocado is installed in an .egg file which is compressed, it will
      fail to load because that path does not really exists.
      
      To avoid this failure, this patch set zip_safe to False explicitly.
      So setuptools will install package to a real directory instead of a
      zipped .egg file.
      Signed-off-by: NHao Liu <hliu@redhat.com>
      43d64f26
  4. 03 9月, 2015 1 次提交
    • C
      Selftests: allow tests to be run with "setup.py test" · 333e439b
      Cleber Rosa 提交于
      One standard setuptools command is "test". That command does some useful
      setup and then runs the test in a verbose mode.
      
      There are a couple of reasons for activating that, including that
      setuptools can help us support a Python 3 version of Avocado by
      running 2to3 and even custom fixers before running the tests, or even
      builds and installs.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      333e439b
  5. 07 7月, 2015 1 次提交
  6. 13 6月, 2015 1 次提交
  7. 11 6月, 2015 1 次提交
  8. 09 6月, 2015 2 次提交
  9. 26 5月, 2015 1 次提交
  10. 19 5月, 2015 1 次提交
  11. 12 5月, 2015 1 次提交
  12. 06 5月, 2015 3 次提交
  13. 22 4月, 2015 1 次提交
  14. 14 4月, 2015 1 次提交
    • C
      sysinfo: replace hard coded commands and files for configurable files · 0a6dc703
      Cleber Rosa 提交于
      This change adds flexibility to the current sysinfo implementation in
      the sense that the commands to be executed and files to be collected
      are no longer hard coded, but configurable.
      
      The configuration file gains a section for that, and the files
      themselves are plain text files that can be easily customized by users
      to include extra commands/files.
      
      Also, the the configuration for the profilers has been adjusted for a
      uniform look, feel and experience.
      
      Changes from v1:
       * Return the default `profiler` parameter value to None, so that it
         looks at the configuration value by default
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      0a6dc703
  15. 27 3月, 2015 1 次提交
  16. 25 3月, 2015 2 次提交
  17. 04 3月, 2015 1 次提交
  18. 27 2月, 2015 2 次提交
    • C
      rest-client: introduce `avocado-rest-client` command line application · a0aa6b70
      Cleber Rosa 提交于
      Introduce a new command line application that is designed to interact
      with avocado-server.
      
      Changes from v1:
      * Fixed reference in the docstrings to arcli (from arc)
      * Release number bump on spec file
      * Add missing avocado.restclient.cli.actions module to setup.py
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      a0aa6b70
    • C
      rest-client: add initial module namespace and response handling module · eb21a531
      Cleber Rosa 提交于
      An essential part of a client interacting with avocado-server is to handle
      the reponse of a request. The most common type of response type is a
      results reponse, when one performs a GET to a resource "root" path and
      and expects to return a list of resources.
      
      To make that more pythonic, this commit introduces a ResultResponse class
      that accepts the JSON response data and checks for completeness. If
      results response fails to comply with the required data members, meaningful
      exceptions will be raised.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      eb21a531