1. 12 8月, 2016 1 次提交
  2. 09 8月, 2016 3 次提交
    • C
      setup.py: set minimum Python version requirements · 5a0cb681
      Cleber Rosa 提交于
      So far there is no mention of the official minimum Python version
      requirement.  This looks like the ideal place to set it, because it's
      saved in the package metadata (sets standard "Requires-Python" info).
      
      Support for this argument ("distribution" in setuptools lingo)
      appeared in version 24.1, so a harmless warning is shown on earlier
      versions.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      5a0cb681
    • C
      setup.py: automate package list · a80a46ac
      Cleber Rosa 提交于
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      a80a46ac
    • C
      Avocado version: rely on pkg_resources instead of hard coded number · ddbe8f8d
      Cleber Rosa 提交于
      Although the current implementation of the version module may look
      simple, it imposes the loading of a huge number of modules for a
      simple version lookup.  The reason is that a number of avocado
      modules, including `avocado` (`avocado/__init__.py`) gets evaluated.
      This module imports from many core parts of avocado, including
      `core/job.py`, `core/test.py` which cascade to loading (and requiring)
      a lot of packages for a simple version lookup.
      
      This has restrained the use of `setup.py` in an environment without
      all those requirements.  While `setup.py` may not be able to deliver
      a functional Avocado without those requirements, it should not crash
      as it does now.
      
      For compatibility reasons, we'll keep the public API `avocado.VERSION`
      and the core API `avocado.core.version.VERSION` will be kept just as
      is.
      
      Reference: https://trello.com/c/WmINCCMsSigned-off-by: NCleber Rosa <crosa@redhat.com>
      ddbe8f8d
  3. 04 8月, 2016 2 次提交
    • 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
  4. 25 7月, 2016 1 次提交
  5. 29 6月, 2016 1 次提交
  6. 13 6月, 2016 1 次提交
  7. 05 5月, 2016 1 次提交
  8. 26 4月, 2016 1 次提交
  9. 24 2月, 2016 1 次提交
  10. 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
  11. 18 12月, 2015 18 次提交
  12. 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
  13. 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
  14. 07 7月, 2015 1 次提交
  15. 13 6月, 2015 1 次提交
  16. 11 6月, 2015 1 次提交
  17. 09 6月, 2015 2 次提交
  18. 26 5月, 2015 1 次提交
  19. 19 5月, 2015 1 次提交