- 11 3月, 2015 8 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Regression and cosmetics
-
由 Rudá Moura 提交于
Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Fix regression when the number of lines from the output was reduced, so we're now assuming 13 lines, instead of 14. Fix issue #472. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Jobless mode
-
由 Rudá Moura 提交于
Update the command line options, when running tests as standalone tests (aka Jobless mode): * --remote-test-results, -r (previously --keep-logs, -r). * --test-results-dir, -d (new option). Example: ``` $ python examples/tests/passtest.py -h OK usage: passtest.py [-h] [-r] [-d TEST_RESULTS_DIR] optional arguments: -h, --help show this help message and exit -r, --remove-test-results remove all test results files after test execution -d TEST_RESULTS_DIR, --test-results-dir TEST_RESULTS_DIR use an alternative test results directory ``` Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
use an exclusive log handler for sysinfo (avocado.sysinfo), so we can fine control the log output for sysinfo. Filter by 'ERROR' by default. Now the sysinfo will not display any information inside the test log, by a normal execution of the test. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.plugins.runner: improve -m description [v2]
-
由 Lucas Meneghel Rodrigues 提交于
functional tests: claim back 3 seconds by using passtest instead of slee...
-
- 10 3月, 2015 3 次提交
-
-
由 Lukáš Doktor 提交于
Adding multiple multiplex files via -m is order dependent. This might not be obvious and this patch adds the note about this. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.test: Escape filename when executing SimpleTest
-
由 Cleber Rosa 提交于
Even though we have changed functional tests to use passtest instead of sleeptest, there still has 3 more tests can go with passtest. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 09 3月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
Current behavior of process.run(shell=False) is it expects multiple arguments and split the provided cmd. This doesn't fit the SimpleTest as it founds a binary and then tries to execute it without any arguments as it might be separated by spaces. This patch escapes the executed command using "pipes.quote" to avoid it's splitting. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 07 3月, 2015 2 次提交
-
-
由 Rudá Moura 提交于
Remote test support: extra checks for improved usability [v3]
-
由 Lucas Meneghel Rodrigues 提交于
Makefile: implement `link` target
-
- 06 3月, 2015 4 次提交
-
-
由 Cleber Rosa 提交于
Adding this extra check will give more precise error messages to the user in case the given tests do not exist on the remote system. This is basically a safeguard against a user using `--remote-no-copy` and asking to run tests that do not exist on the remote system. When not using `--remote-no-copy` the tests will be copied and this check should always succeed. But, because of timing issues, concurrent access to the remote system, and so many other issues could result in tests being removed, I believe the user can still benefit from this (lighweight) check. Changes from v1: * return the original `avocado list` error message, which is more detailed and includes the missing files, instead of a general error message. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
That will link avocado-virt modules and plugins if they happen to live in the same directory as avocado (toplevel directory) does. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
By performing a simpler check before actually trying to run avocado (and tests) on the remote system, we can be more precise about avocado not being installed. Also the check adds some output check, that should minimize false positives if for some reason another `avocado` executable exists in the remote system $PATH. This also paves the way for checking specific avocado versions (the regex used already breaks down the version numbers). Changes from v1: * Also return the version number if avocado is found to be installed on the remote system Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
When using `--remote-no-copy` the test files will neither be copied from the current system nor executed on it, so disable all sorts of checks. This is a fix for the local check only. A more complicated issue is to perform similar checks on the RemoteTestRunner and report possible failures in a clean way. This address the github issue #417. Changes from v1: * Use a simpler Python idiom (getattr with default instead of hasattr and extra check). Spotted by Rudá Moura. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 3月, 2015 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.test: Little speed optimization of the warn log
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
self.job: Command line options in "jobless mode" [V2]
-
- 04 3月, 2015 10 次提交
-
-
由 Cleber Rosa 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Fix avocado runner problem when running avocado from the base package.
-
由 Lucas Meneghel Rodrigues 提交于
The current way the text was built looks bad while looking at the docs in the browser. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
* Include `avocado.module` inside setup.py. * Check if htmlresult plugin is installed from the import, to set the HTML result feature on or off. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Share functionality of remote and vm plugins inside the new submodule `avocado.remote`.
-
由 Lucas Meneghel Rodrigues 提交于
avocado.test: Fortify avocado before very nasty exceptions
-
由 Lukáš Doktor 提交于
The NastyException error is back: class NastyException(Exception): def __init__(self, msg): self.msg = msg def __str__(self): return self.msg crashes Avocado. The problem is we are trying to re-raise the exceptions and then read the traceback again. Even reading of the details of this very nasty written exception causes critical failure. What this patch does instead of handling issues wherever we produce them, it waits till the exception bubbles to the entry-point and it tries to read it. If it fails, we log the original traceback (information about the failure) and then user-friendly message saying we're unable to retrieve the original failure. Additionally I had to modify the xunit output as in case of very nasty inputs it's unable to reproduce the values. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Rudá Moura 提交于
From the Job class, put the previous `standalone` argument inside the `args` environment, so the class now requires only one argument args. For completeness, the Job class will always contain an `args` defined, even if we don't pass anything, it will contain an empty environment, so that we don't need to check if job is None and it will always be possible to use `getattr()` to get an attribute from `args`. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Since the API creates a directory (instead of just return the name), rename `get_job_logs_dir` to `create_job_log_dir`. Use a proper parameter to get the base dir, instead of passing the whole `args` environment for that. As a matter of style, `avocado.core` should avoid to use `args`. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
When running tests in standalone mode, allow some command line options to control the test execution. Currently only an option to keep the logs after test execution is implemented. The class `avocado.job.TestModuleRunner` is now `avocado.job.TestProgram`. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
- 28 2月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
examples.tests.doublefree: Change behavior to expect success/pass.
-
由 Lucas Meneghel Rodrigues 提交于
REST Client: introduce API and avocado-rest-client application [v4]
-
- 27 2月, 2015 7 次提交
-
-
由 Rudá Moura 提交于
Update the unit test for remote and vm functionality to use the new submodule `avocado.remote`, regarding the changes made so far. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
The RemoteTest is now on `avocado.remote.test` module. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Since the new `avocado.remote` contains the core functionality of remote and vm, clean these plugins to use this module, so it now contains just the command line options. So it would be possible to create a proper subproject in the future. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Create a new submodule `avocado.remote` containing the core aspects of `avocado.plugins.remote` and `avocado.plugins.vm`. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Change behavior to expect the test to pass, by using test asserts. Signed-off-by: NRudá Moura <rmoura@redhat.com>
-
由 Cleber Rosa 提交于
-
由 Lukáš Doktor 提交于
We declared that WARN is only a special case of PASS, we should probably return exit code 0. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-