- 22 6月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Plugin interfaces: proposal for a better module name and location
-
- 21 6月, 2016 3 次提交
-
-
由 Amador Pahim 提交于
avocado.utils.lv_utils: Two bugfixes
-
由 Lukáš Doktor 提交于
The "vgremove" is interactive and it asks if it should remove used vg. Use "-f" to avoid this prompt. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The "pvs" command adjusts to tablular output, therefor it can contain several emply ' 's, minimum 1. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 6月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
-
- 18 6月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Makefile: add rule for creating package files for PyPI
-
- 17 6月, 2016 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado/utils/process.py: avoid false positives on pid_exists()
-
由 Cleber Rosa 提交于
The current implementation of pid_exists() is such that, if any error condition is obtained from sending a signal to a given process, than it means that it doesn't exist. But that is not true, and the same OSError exception raised when the process doesn't exist, can be raised when there's no permission to send a signal to a process (such as someone else's process). So, let's be very specific and check for ESRCH, which means "no such process". Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 15 6月, 2016 3 次提交
-
-
由 Cleber Rosa 提交于
Avocado needs a bit of custom massaging to be able to properly live under "avocado-framework" on PyPI. This adds a target that will make the upload of new releases easier. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: avocado.utils.lv_utils: Add LVM utility
-
由 Harish 提交于
Backports the autotest's utility to handle LVM. Signed-off-by: NHarish <harisrir@linux.vnet.ibm.com> Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 14 6月, 2016 3 次提交
-
-
由 Lukáš Doktor 提交于
When unhashable argument is passed to the `params.get`, it crashes while trying to obtain value from cache. This patch fallbacks to new query on such exception. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 13 6月, 2016 3 次提交
-
-
由 Amador Pahim 提交于
avocado.plugins: Add TAP output plugin [v5]
-
由 Cleber Rosa 提交于
One of the most important points of having TAP support is allowing other tools to parse the results of the Avocado tests. IMHO the best way to test that we're producing sound TAP support is to use stable implementations for that. AFAIK, Perl is where TAP was born, and its TAP library is kind of a reference implementation. Let's use that, if available, to check if our tap generation is sound. Signed-off-by: NCleber Rosa <crosa@redhat.com> Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch adds simple TAP (v12) results plugin. It supports stdout/file output and is fully stream-lined (uses 1 line buffering to file). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 09 6月, 2016 2 次提交
-
-
由 Amador Pahim 提交于
avocado/core/app.py: remove useless initialized variable
-
由 Cleber Rosa 提交于
This variable is a leftover from the days the preceded the plugin system overhaul. It serves no purpose now, so, let's remove it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 08 6月, 2016 7 次提交
-
-
由 Amador Pahim 提交于
avocado.utils.data_structures: Adjust compare_matrices
-
由 Amador Pahim 提交于
avocado.core.test: Fix SimpleTest [v2]
-
由 Lukáš Doktor 提交于
No actual changes, just pylint fixes Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
With the d6abdcd4 Test methods changed but for SimpleTest the wrong method was chosed and only the test execution is performed now, the post-process class is completelly ignored. This changes the method to the correct one and adjusts ExternalRunner to not run this postprocess. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The advanced features of SimpleTests require logging to be enabled, which is not part of the `test` method, but the full `run_avocado` workflow. The fact that it passed is that the advanced features were broken for quite a long time. This patch uses the `run_avocado` which contains the `_start_logging` and `_stop_logging` methods needed for the advanced features to work. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The test_loader produces partial results in the default job-results directory. This patch uses temp dir instead. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
avocado: Improve TestStatus handling
-
- 06 6月, 2016 3 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Use asset fetcher for KernelBuild download() avocado.core.test add cache_dirs as part of Test API
-
由 Amador Pahim 提交于
Using asset fetcher for KernelBuild download() so we can take advantage of the cache mechanism. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Asset fetcher already uses cache_dirs and now we realized that other utilities can take advantage of it. This patch makes cache_dirs available on Test() API. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 03 6月, 2016 2 次提交
-
-
由 Amador Pahim 提交于
avocado.core.test: Replace `;` in workdir too
-
由 Lukáš Doktor 提交于
This patch changes the error message on ZeroDivisionError to not split by `.split()` method to allow loading the matrix by simple split. Additionally this changes the zip method to izip in for loop. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 02 6月, 2016 3 次提交
-
-
由 Lukáš Doktor 提交于
The TestStatus failures are only logged to avocado.ui and not reflected in the test's results. Let's use the method defined for runner failures to error-out the test in case of TestStatus failure. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
There are two places, where runner can modify the test's status, each handling it differently. Let's create a method to handle such occasions in the same manner. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently when the test reports status avocado does not check whether the process finished, leaving open space for left-over test processes. This patch unifies the test process handling in case the test reported test status and allows the runner to destroy and report error in case the test process did not finish. Additionally it modifies the error message in case the test was interrupted, because the original message is IMO not clear enough (I spent quite a time analyzing how that happened and if that's an avocado bug or supported result). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 01 6月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: add -j option to make
-
- 31 5月, 2016 2 次提交
-
-
由 Lukáš Doktor 提交于
The `;` character is problematic for some makefiles, let's replace it with `_` the same way we did for `:`. The result should still be readable enough by human, it's guaranteed to be still unique which concludes all requirements for machines regarding workdir. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
Parallelism is usually a good thing when it comes to build source codes. This patch adds the -j option to make utils using ncpus+1 when -j is not provided by the user. Reference: https://trello.com/c/H4e7SuOCSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
- 28 5月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
Avocado currently does not define a set of APIs for plugin writers. It's well understood that anyone writing plugins is really playing under the hoods of core Avocado. Because there's no such module namespace allocated for that purpose alone (say, `avocado.plugin`) it was decided to put plugin interfaces together with the "core plugin repository", that is the "avocado/plugins" directory. By no means the contents of "avocado/plugins/", that is, the plugin implementations themselves, need be the "avocado.plugins" module, it could just as well live in "avocado-core-plugins" directory or repository. This is also well exemplified by the avocado-vt and avocado-virt plugins, which live in completely separate repositories. So, the first goal of these changes are, effectively, to make all plugin implementations equal, always referring to `avocado.core.plugins_interface`. Then, the secondary goal is to pave the way for a specific namespace to contain only the interfaces (which should be non-core) which plugin writers should rely on. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 26 5月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
* https://github.com/avocado-framework/avocado: Adding compare_matrices utility
-
- 25 5月, 2016 1 次提交
-
-
由 Harish 提交于
-