1. 02 10月, 2018 1 次提交
    • C
      Add core test parameter passing support (non-varianter based) · 252f8be2
      Cleber Rosa 提交于
      Currently, the only way to pass parameters to Avocado is by using the
      variants layer, that is, one of the existing varianter plugin
      implementations.  This was based on earlier design decisions, that
      we're trying to fix without breaking expectation and compatibility.
      
      While it'd makes sense to support parameters created by the varianter
      layer itself, together with non-varianter parameters, it seems that we
      can start by adding support for one or the other being used at a time.
      
      This commit does exactly that: add support for a method of passing
      parameters via the command line for all tests in a job, without
      having to resort to the varianter.  When the varianter is used,
      it takes precedence and the core test parameter passing support
      is ignored.
      
      This should solve a number of use cases that require one-time
      executions of tests with different parameters, especially
      executions during test development and debugging.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      252f8be2
  2. 23 2月, 2018 1 次提交
  3. 14 12月, 2017 1 次提交
  4. 01 12月, 2017 1 次提交
  5. 23 8月, 2017 1 次提交
    • C
      avocado/core/test.py: rename TestName to TestID · a67b2fb4
      Cleber Rosa 提交于
      The current TestName class records more than a test name (according
      to the Avocado specification).  It records, and by default, presents
      the Test ID (__str__() and __repr__()).
      
      The Test Name, again according to the Avocado specifications, is
      contained within a Test ID, so it's not necessary to have two
      different classes IMO.
      
      Finally, the str_filesystem() method was adapted to be coherent with
      the fact that it returns a file system representation of the Test ID,
      not the Test Name.  It also became a property, to match the same use
      of str_uid and str_variant.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      a67b2fb4
  6. 31 5月, 2017 1 次提交
    • L
      runner: Allow to specify execution order · 024c18fe
      Lukáš Doktor 提交于
      The suite order means the order in which the variants will be applied to
      tests. Right now we run all variants of first test, then the same for
      the second, third, ... tests. The new option "--execution-order" allows
      to alternatively specify "tests-per-variant" mode where we run first
      variant of all tests, then second variant, third, ...
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      024c18fe
  7. 30 5月, 2017 1 次提交
  8. 03 5月, 2017 1 次提交
    • L
      variants: Introduce "avocado variants" command · f967f0c6
      Lukáš Doktor 提交于
      The "avocado multiplex" command is misleading as multiplexation is only
      the generic concept used by one of our varianter plugins
      implementations. Let's change the command name to "avocado variants"
      which better reflects what is it used for.
      
      As people depend on "avocado multiplex" command let's keep both of them
      for now to give people time till Avocado 52.0 to migrate.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      f967f0c6
  9. 24 4月, 2017 1 次提交
  10. 31 3月, 2017 1 次提交
    • L
      mux: Add support for internal filters · 20364904
      Lukáš Doktor 提交于
      This adds the support to define per-node filters, which take part of
      environment and are evaluated during multiplexation.
      
      The basic idea is to define relations ({could be only used | could
      not be used} with other branch), which makes it a bit different from
      what we know from `--mux-filter-{only|out}`:
      
      1. They are applied per complete variant (because the filters are
         compound of per-leaf-filters)
      2. They don't remove/keep the nodes, but they only evaluate whether
         this resulting variant makes sense (whether it passes the filters)
      
      See the updated documentation for details.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      20364904
  11. 07 3月, 2017 1 次提交
  12. 04 3月, 2017 1 次提交