- 22 4月, 2015 8 次提交
-
-
由 Rudá Moura 提交于
Move avocado.cli.app and avocado.cli.parser to avocado.core, in conformance to our purpose of keep things not related to test developers, inside avocado.core. Now the package avocado.cli is gone. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Multiplexer tweaks
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The current formatting is not the most convenient, since some slightly different tests start to bend the initial assumptions made when designing the format. Here I propose something I came up with after some experiment. Examples of log output: 00:23:57 DEBUG| PARAMS (key=virt.qemu.paths.qemu_bin, path=/*, default=None) => '/bin/qemu-kvm' 00:23:57 DEBUG| PARAMS (key=virt.guest.image_path, path=/*, default=/home/lmr/avocado/data/images/jeos-21-64.qcow2) => '/home/lmr/avocado/data/images/jeos-21-64.qcow2' 00:23:57 DEBUG| PARAMS (key=virt.qemu.template.contents, path=/*, default=None) => None Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
testplan: Description improvement
-
由 Lucas Meneghel Rodrigues 提交于
avocado.remote: Accept "timeout" arg
-
- 21 4月, 2015 3 次提交
-
-
由 Lukáš Doktor 提交于
The description might contain valuable information. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
the executed test is passtest, thus the name in results should be passtest.py and not boot.py Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The "timeout" argument was added to "run_testsuite" but not added to avocado.remote, which now raises exception. This patch merges the --remote-timeout and --job-timeout keeping only the --job-timeout. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 4月, 2015 4 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
docs: revert attempt to fetch and build avocado-virt API documentation
-
由 Lucas Meneghel Rodrigues 提交于
docs: add section on GDB support and avocado-virt usage
-
由 Cleber Rosa 提交于
Commit 120345aa attempted to download and build avocado-virt API documentation together with the avocado API. While this was reliable offline, it succeeded only on the very first version builds at readthedocs.org. So, let's revert back that hackish form of combining the docs. Further commits will add API documentation generation to avocado-virt itself, and link avocado and avocado-virt by means of the intersphinx mapping feature and readthedocs.org sub-project support. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
It was attempted to fill in the gaps so that avocado-virt would be able to transparently use avocado GDB support. It turns out that a number of foundation changes will have to be made to support launching process in the background while running inside GDB. So, for now, let's document that limitation. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 17 4月, 2015 4 次提交
-
-
由 Rudá Moura 提交于
avocado.plugins: Make plugins description uniform
-
由 Lucas Meneghel Rodrigues 提交于
avocado.runner: Swap runTest() and _runTest().
-
由 Lucas Meneghel Rodrigues 提交于
Trivial patch that normalizes description of the plugins present on the base avocado repository. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
Swap runTest() with _runTest(). Now run_suite() will call runTest() and then, create a subprocess with _runTest(). Plus more refactoring: * Update documentation. * Use longer variable names. * Cosmetics. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 16 4月, 2015 10 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
The '/' prefix is leftover from -m $using:$path development and was already solved in -m patch. Remove this code which actually breaks the params resolving. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.multiplexer: Support for overriding entry points and yaml locations [v3]
-
由 Lucas Meneghel Rodrigues 提交于
Set timeout per job execution [V4]
-
由 Rudá Moura 提交于
Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Add parameter to specify the job timeout a number of seconds or a number followed by a suffix for seconds, minutes or hours. Examples: avocado run --job-timeout 10 synctest sleeptest ... avocado run --job-timeout 2m synctest sleeptest ... Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Allows to specify the total amount of time (in seconds) that a test suite is allow to execute in a job execution. When the timeout happens in a running test, then the test is marked as error and the following test cases are marked as skipped. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
run_suite() will accept an optional parameter to set (in seconds) the timeout for the test suite to execute. If the timeout happens in the middle of the test, it will report as an error. The other tests (if any) will be marked as skipped. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Use TimeOutSkipTest as a placeholder for a test, to mark that it will not execute due a job timeout. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Remove redundant initialization in classes: * MissingTest * BuggyTest * NotATest Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 15 4月, 2015 11 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado: Exception handling bugfixes [v2]
-
由 Lukáš Doktor 提交于
There are python traps (they can't be called scripts) which on import modify stdin/out/err. This even on discovery makes avocado behave very badly and it's hard to discover what and when it happened. This patch provides dummy stdin/out/err when discovering the tests. This solution only takes care of stdin/out/err related issues, safer method would be to spawn another process and gather the info there. Still we can't avoid modifying the OS during the discovery, but that's IMO acceptable for a test-framework. The examples/tests/failtest_ugly.py is used in basic_tests unittest using "avocado list" (without this patch it waits for input, than it prints the test's outputs and exits without listing the tests). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Some very ugly modules use sys.exit() on imports. These are not catched by Exception thus BaseException is required. I did not omit KeyboardInterrupt as users get mad when ctrl+c doesn't work. On the other hand nasty python code raising KeyboardInterrupt on import can interrupt test-discovery (avocado list nasty.py => Interrupted by user) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch cleanups the view even on BaseException errors. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Usage of "except:" without listing exceptions catches BaseException, which is not a good practise. This patch uses "except Exception" or list of exceptions instead. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This code was intended for wider use, which was reconsidered and unused. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
self._log contains only debug log function. We need to get the warn log from logging. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch adds __repr__ method and improves the __str__ one too. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Implement __eq__ and __ne__ methods for AvocadoParam(s). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes, only English spelling and few added docstrings. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-