1. 09 6月, 2015 4 次提交
  2. 02 6月, 2015 1 次提交
    • L
      avocado.multiplexer: Inject YAML files into /run · 3e5cbc85
      Lukáš Doktor 提交于
      This patch changes the default mux-entry to `/run` as it tends to be
      more convenient.
      
      The biggest change is that this location is used as default location
      for added YAML files. It's also used as the base when using relative
      path YAML file injection. The only way to include file into the exact
      location is to use absolute path (`/your/location`).
      
      The benefit is that single simple YAML file doesn't require any additional
      location and is in the default mux-entry location. Check the documentation
      for details.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      3e5cbc85
  3. 20 5月, 2015 2 次提交
  4. 18 5月, 2015 1 次提交
  5. 16 5月, 2015 2 次提交
    • L
      avocado.multiplexer: Switch to the new API · d727bfe0
      Lukáš Doktor 提交于
      This patch adds documentation of the "new params API" and removes the
      compatility layer. From now on only the API with paths is valid:
      
          self.params.get(key, path='*', default=None)
      
      where the default path '*' matches anything from --mux-entry path.
      Default path is `/test`.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d727bfe0
    • L
      examples.tests: Adjust tests to use new params API · 8e2ddf58
      Lukáš Doktor 提交于
      This patch modifies all example tests to use the new API. It uses the
      default path, which is `*`, which matches the mux-entry paths ONLY.
      In order to get the values it's necessarily to inject the YAML files
      into the mux-entry path, by default `/test`, eg:
      
          avocado run sleeptest -m /test:examples/tests/sleeptest.py.data/
          sleeptest.yaml
      
      It might seen as a bit more complicated to execute, but it's definitely
      easier for maintaining and combining existing YAML files. To execute
      matrix of tests you simply inject them into 2 different `/test` children,
      eg: `-m /test/by_length:lengths.yaml /test/by_method:methods.yaml`.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      8e2ddf58
  6. 12 5月, 2015 2 次提交
  7. 06 5月, 2015 3 次提交
  8. 24 4月, 2015 2 次提交
  9. 20 4月, 2015 2 次提交
    • C
      docs: revert attempt to fetch and build avocado-virt API documentation · 71ec8744
      Cleber Rosa 提交于
      Commit 120345aa attempted to download and build avocado-virt API
      documentation together with the avocado API. While this was reliable
      offline, it succeeded only on the very first version builds at
      readthedocs.org.
      
      So, let's revert back that hackish form of combining the docs. Further
      commits will add API documentation generation to avocado-virt itself,
      and link avocado and avocado-virt by means of the intersphinx mapping
      feature and readthedocs.org sub-project support.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      71ec8744
    • C
      docs: add section on GDB support and avocado-virt usage · e2fb4bb3
      Cleber Rosa 提交于
      It was attempted to fill in the gaps so that avocado-virt would be
      able to transparently use avocado GDB support. It turns out that a
      number of foundation changes will have to be made to support launching
      process in the background while running inside GDB.
      
      So, for now, let's document that limitation.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      e2fb4bb3
  10. 10 4月, 2015 1 次提交
  11. 08 4月, 2015 1 次提交
  12. 27 3月, 2015 1 次提交
  13. 25 3月, 2015 1 次提交
    • L
      scripts.avocado-bash-utils: Add Avocado bash utils · fa0e77a7
      Lukáš Doktor 提交于
      This patch is initial support for people using custom bash scripts
      with avocado. Tests should use:
      
          PATH=$(avocado "exec-path"):$PATH
      
      and then they can utilize the helpers.
      
      This version contain functions to write to Test.log the same way it's
      possible from python including failing the test with TestWarn in case
      avocado_warn was used.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      fa0e77a7
  14. 20 3月, 2015 1 次提交
  15. 04 3月, 2015 1 次提交
  16. 26 2月, 2015 3 次提交
  17. 23 2月, 2015 3 次提交
  18. 19 2月, 2015 1 次提交
  19. 18 2月, 2015 2 次提交
  20. 06 2月, 2015 1 次提交
    • C
      find_command(): move from avocado.utils.process to avocado.utils.path · b25ae282
      Cleber Rosa 提交于
      The reasons for the proposed move include:
      
      1) Even though find_command() looks for executables, it doesn't really
         try to execute them as a living process.
      
      2) The implementation looks for it in a $PATH like list, so, out of a
         possibly better choice, avocado.utils.path was chosen.
      
      3) Other modules can use that functionality, but not the execution of
         process.
      
      4) Avoid circular dependencies: this is actually the first motivation
         of the proposed change, and a true story with the GDB plugin/test.
         Since avocado.utils.process depends on avocado.gdb, this module
         can not use find_command() to look for gdb/gdbserver binaries.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      b25ae282
  21. 03 2月, 2015 4 次提交
  22. 31 1月, 2015 1 次提交