- 15 8月, 2017 9 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: YAML Loader: move it into its own plugin and package
-
由 Cleber Rosa 提交于
The newly introduced YAML Loader plugin is currently hosted on the same plugin (directory and module) as the varianter one. While they share a lot of code, they have different purposes. Let's move the YAML loader into its own plugin, so that its installation is also optional and the separation is clearer. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: python-avocado.spec: fix dependency on Python YAML packages Makefile: remove section about packages needed to build Avocado Makefile: use old chroot implementation for mock
-
由 Cleber Rosa 提交于
This change is already present on the downstream (Fedora/EPEL) packages, and for some reason, was missing here. It causes the installation to be attempted by pip, which should never be done during RPM builds. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
All the Avocado deps are now either on Fedora or EPEL, so there's no need for any extra setup, and consequently, for that documentation section. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
mock has switched to using systemd-nspawn for its chroots. It looks like it's breaking the Avocado workflow for building packages. Until we can better evaluate what's missing there, let's revert back to the old implementation. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 14 8月, 2017 13 次提交
-
-
由 Paolo Bonzini 提交于
Use the new "b'' % foo" formats from PEP461. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
At least, selftests.unit.test_xunit passes. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
Part of fixing selftests.unit.test_xunit under Python 3. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
The precision of float printing has changed. To provide the same output for Python 2 and 3, explicitly specify the number of significant digits. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Writing to sys.stdout|stderr from inside test should be treated as any other output in test and should be prefixed by [std* ] to emphasize it's not comming directly from logging, but from direct output. This prefix should and is only be prefixed in job.log and not in stdout|stderr files. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The LoggingFile is used to forward sys.stdout|stderr messages into expected loggers. Using "paramiko" or "fabric" seems like a bug to me. Let's only forward them into TEST_LOG, which also propagates to job.log. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
We are about to need to allow different log prefixes per logger in our LoggingFile helper class. Let's allow it by using list of prefixes, instead of a single prefix. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The argument logger actually expects multiple loggers in a list. Let's reflect that to avoid possible confusion. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
shortcommit is supposed to contain the 8 first characters instead of 7. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Spell fixes and exception for the 53 release. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 11 8月, 2017 5 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
There are bunch of really short, one-time-used variables defined globally, which is not really necessary, nor easy to follow. Let's just define those one/two liners directly to where they are used. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 10 8月, 2017 3 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
On python3 this naked open reports ResourceWarning. Let's properly close it: avocado/utils/archive.py:191: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/avocado___main__rv2ihor0/tmp0drzyrsb/ link_to_file2' mode='r' encoding='UTF-8'> src = open(dst, 'r').read() Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Fix byte vs string file io for python 3
-
- 09 8月, 2017 1 次提交
-
-
由 Jan Zerebecki 提交于
Reference: https://github.com/avocado-framework/avocado/issues/2024Signed-off-by: NJan Zerebecki <jan.foss@zerebecki.de>
-
- 07 8月, 2017 1 次提交
-
-
由 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>
-
- 06 8月, 2017 5 次提交
-
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
由 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>
-
- 05 8月, 2017 2 次提交
-
-
由 Lukáš Doktor 提交于
Currently when the loader produces "params" entry, Avocado reports crash. Let's allow loaders to also fill "params" and override the test params. Currently we don't support merging the params defined by loader with varianter params so we at least notify the user about such situation, but such feature should definitely be added later. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The existing way to produce variant_ids can be useful for other plugins as well. Let's extract it and move it into `varianter`. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 25 7月, 2017 1 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-