1. 15 8月, 2017 9 次提交
  2. 14 8月, 2017 13 次提交
  3. 11 8月, 2017 5 次提交
  4. 10 8月, 2017 3 次提交
  5. 09 8月, 2017 1 次提交
  6. 07 8月, 2017 1 次提交
    • L
      test: Remove unnecessary LazyProperty from Test class · f5ae8ed8
      Lukáš Doktor 提交于
      Most of the LazyProperty variables in Test are actually always read on
      "get_state" and other occasions so it does not make sense to set it
      Lazily.
      
      Also protect the remaining lazily initialized property from overriding
      by using @property instead of our custom LazyProperty, which is not
      really a property.
      
      This commit requires some adjustments to nasty example tests which used
      to override self.srcdir, which is not allowed (and restricted since this
      commit).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      f5ae8ed8
  7. 06 8月, 2017 5 次提交
    • L
      test: Store fail_reason only as string · ea6deb1c
      Lukáš Doktor 提交于
      The fail_reason is the instance of the actual exception. We do store it
      only as string in case of old-type exception, but even new style
      exceptions might be not available when sys.path is different causing
      unpickle on runner part impossible.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      ea6deb1c
    • L
      optional_plugins: Support for any test loader for yaml_to_mux_loader · e99f45e1
      Lukáš Doktor 提交于
      Use the new ability to report full mappings after the discovery and
      allow using `test_reference_resolver_class` to specify the resolver
      class intended for test discovery.
      
      To allow sufficient flexibility also support
      `test_reference_resolver_args` to override resolver arguments and
      `test_reference_resolver_extra` to extend the resolver extra_params.
      
      Note the overridden arguments apply only to the resolver, not to whole
      Avocado so it's not possible to override wrappers or such just for a
      single test execution. Anyway it is possible to set `vt_config` just for
      that single loader, which is more-than useful.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      e99f45e1
    • L
      varianter: Fix mux_path on no-variants · d2f70ef3
      Lukáš Doktor 提交于
      When no variants are provided Avocado sets the default variant, but
      instead of list of mux paths it created just string "/run", which
      processed into ["/", "r", "u", "n"]. Let's fix this by setting list.
      
      Also the proper mux_path should be `/run/*` in order to include all
      children nodes of the "/run".
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d2f70ef3
    • L
      loader: Get full-mapping after discovery · 1001c64d
      Lukáš Doktor 提交于
      Currently only unbounded mapping is possible as on failure we want to
      list all the available tests by given loaders without initializing them
      first. This patch allows second-stage mapping which is a bounded method
      and is called after `LoaderProxy.discover`, allowing the test loaders to
      update the mappings according to the test discovery.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      1001c64d
    • L
      optional_plugins: Add yaml_testsuite_loader · e677e974
      Lukáš Doktor 提交于
      Let's add yaml_testsuite loader which allows parsing YAML file and
      producing testsuite out of it.
      
      At this point due to Avocado limitation it only supports
      FileLoader-based test discovery, but it should be possible with greater
      changes to extend the scope of this loader for just about any Avocado
      loader.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      e677e974
  8. 05 8月, 2017 2 次提交
  9. 25 7月, 2017 1 次提交