- 09 9月, 2016 2 次提交
-
-
由 Cleber Rosa 提交于
Now that the avocado package has been given a proper unique name, that is, avocado-framework, we can define it as a requirement for external and optional plugins. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
We have been using "avocado" as the name of our package, as seen by core Python tools such as pkg_resources and repositories uch as pypi.python.org. The fact is that, even though our libraries modules live under the "avocado" namespace, there's no need to forge the package name. With this change, external packages can declare "avocado-framework" as a requirement. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 08 9月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
optional_plugins.html: Minor fixes
-
- 07 9月, 2016 22 次提交
-
-
由 Lukáš Doktor 提交于
The method `logdir` is not used anywhere in the template, nor in the plugin itself. I tried to find any occurrences and also setting a breakpoint without any use whatsoever. Let's remove it. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes, just style fixes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: HTML Result: host it in a directory outside the avocado package HTML Result: move rendering code from core to the plugin itself HTML Result: add missing fields to formatted version of test info HTML result: use names closer to underlying result instance Makefile: smokecheck also needs clean/develop Makefile: fix test name used on smokecheck
-
由 Amador Pahim 提交于
avocado.core.sysinfo: Force LC_ALL for sysinfo collection [v2]
-
由 Lukáš Doktor 提交于
This commit allows setting custom LC_ALL for sysinfo collection to simplify `avocado diff` comparison between different machines. One can disable this by setting no/empty value. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
This step makes the HTML result a proper Python plugin, by living outside the Avocado package namespace. The RPM package is also adjusted: it now builds ands install both Avocado and the HTML result plugin while keeping the two separate installable packages. Developers can use the usual `make link` and `make clean` to enable and disable all plugins (including this one). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This change removes the knowledge, and dependency, that the current Avocado core has of the HTML rendering code. The only user visible change is that the UI message about the generated HTML file now appears one line after it used to appear. The reason is not because of the HTML plugin itself, but because the results are now generated outside the context of the job, and that is, chronologically a bit later than it used to be. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Commit 84a8acc0 fixed a problem with 625eefe0, by reverting its original proposal and copying everything from the inner test result information to a new dict that is fed to the report template. It turns out that only two entries were missing (test ID and status) so we don't really need to copy the whole thing. Again, this is basically a revert of 84a8acc0 that adds those two missing fields. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
There's no need to have different names on the ReportModel class from the Result instance, which is really the source of information. This change is a step towards using better known names and possibly making the ReportModel a child of Result itself. 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>
-
由 Amador Pahim 提交于
Create a git workflow section based on the devel list discussion. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Plugins: add support for optional plugins dir and related Makefile targets
-
由 Cleber Rosa 提交于
This reverts commit 6cb88049. The rationale is that we should really use LC_ALL instead of LANG.
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
The `run` does not accept arguments anymore but stores them in `self`. Let's get rid of the outdated docstring. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently only tree produced from yaml file is filtered. This patch changes the logic to first produce the full tree and then apply filters. The difference is that this way one can filter also nodes defined via `avocado_devault_params` like avocado-vt params or `--mux-inject` ones. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The `MULTIPLEX_CAPABLE` only influences the `yaml` parser. All other functions are available without it so let's allow users to use them. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The option `--multiplex-files` has been deprecated for several releases, let's finally remove it. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The multiplexer is our way to define test params. Let's mention the purpose, rather than our cryptical name in the parser's argument group. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
- 06 9月, 2016 8 次提交
-
-
由 Lukáš Doktor 提交于
This commit allows setting custom LANG for sysinfo collection to simplify `avocado diff` comparison between different machines. One can disable this by setting no/empty value. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Cleber Rosa 提交于
-
由 Amador Pahim 提交于
Currently we fail silently when sysinfo configuration files are not present. This patch adds a log.debug message so the user will have a chance to understand why sysinfo is not being collected. Reference: https://trello.com/c/5rvvdH8lSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
The current method of IP probe is unreliable, as the IP can change between reboots and we will still use the previous IP. This patch changes the IP probe method to use the libvirt's domifaddr feature. We try to use the AGENT method, which relies on a qemu-guest-agent query. Reference: https://trello.com/c/y9nKJwfnSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Commit 88cd8261 moved the plugin interfaces to `avocado/core` under the name `plugin_interfaces.py`. The example plugins were not updated, so let's fix it now. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The `link` and `clean` targets, very useful under development environments, have supported directories containing `Makefiles`. It turns out that for some plugins it may be enough (and more Pythonic) to just have `setup.py` files, so let's support that. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The goal of the `optional_plugins` directory is to hold all plugins that ship with Avocado, but are not considered core functionality. Plugins that are considered to be core still live under `avocado/plugins`. This also adds all directories to be found under `optional_plugins` to the list of candidate plugins when running `make clean` or `make link`. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 02 9月, 2016 2 次提交
-
-
由 Cleber Rosa 提交于
-
由 Amador Pahim 提交于
avocado/core/settings.py: allow settings to use the home dir notation [v4]
-
- 01 9月, 2016 5 次提交
-
-
由 Amador Pahim 提交于
VIRTUAL_ENV variable might not be always present. That's the case for ReadTheDocs. On the other hand, sys.real_prefix seems to be a more reliable way to detect we are under a virtualenv. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Some settings refer to paths on the filesystem, and the use may want to set them as `~/something`. Let's use the type `path` on known configuration keys. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
It's common to use the tilde notation (`~/foo`) to refer to locations inside the user directory. Let's introduce a new settings key type, called `path`, that will automatically expand the tilde notation if one is found. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Makefile: limit clean/link to possible plugin directories selftests/unit/test_utils_partition.py: also treat raised OSError Makefile: add explicit config to all mock commands Makefile: RPM repos are not hosted on COPR anymore Makefile: move Debian package related rules to contrib Makefile: add target that shows general configuration Makefile: silence possible setuptools warnings
-
由 Cleber Rosa 提交于
The current wildcard expansion will look list every file (no matter what type) as a plugin candidate. It may be just my setup, but I have a few files on the same common directory that shouldn't be treated as plugin dirs. While at it, also limit to directories that actually have a Makefile. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-