- 03 9月, 2014 18 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So that when we use io.log_line, files get written to the appropriate test log locations. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add aexpect, a near exact copy of the code that has been used by virt-test for a long time. It is a library for controlling interactive process, similar to pexpect, but with some additional properties: * Programs may stay alive between tests and jobs * More sophisticated class structure Signed-off-by: Lucas Menghel Rodrigues
-
由 Lucas Meneghel Rodrigues 提交于
Add string manipulation APIs to the avocado.utils namespace. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a library for functions with the same pattern: wait for another function to evaluate to True, for a certain amount of time. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So that we can do things such as killing an entire process tree, necessary for aexpect functionality. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So we can introduce aexpect. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
To avoid a few oddities inside avocado code. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
We frequently need to generate data for framework or testing purposes. Introducing data_factory, a library dedicated to this purpose. With this, we can make other parts of avocado to use it and supersede old functions used on this regard. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
manpage: update based on recent command line and plugin changes
-
由 Cleber Rosa 提交于
avocado.plugins: Fix bug 'Namespace' object has no attribute
-
由 Cleber Rosa 提交于
This syncs the manpage with the latest changes of command line options and plugins (for example, the new multiplex). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 02 9月, 2014 7 次提交
-
-
由 Rudá Moura 提交于
Fix problem when running Avocado with subcommand other than run: $ avocado plugins Could not activate plugin 'run_vm': 'Namespace' object has no attribute 'vm' Could not activate plugin 'json': 'Namespace' object has no attribute 'json_output' Could not activate plugin 'xunit': 'Namespace' object has no attribute 'xunit_output' Could not activate plugin 'journal': 'Namespace' object has no attribute 'journal' Plugins loaded: datadir - Implements the avocado 'datadir' subcommand (Enabled) json - JSON output (Enabled) journal - Test journal (Enabled) multiplexer - Implements the avocado 'multiplex' subcommand. (Enabled) plugins_list - Implements the avocado 'plugins' subcommand (Enabled) run_vm - Run tests on a Virtual Machine (Enabled) sysinfo - Collect system information (Enabled) test_lister - Implements the avocado 'list' subcommand (Enabled) test_runner - Implements the avocado 'run' subcommand (Enabled) xunit - xUnit output. (Enabled) Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Move options to test runner, plugins has priority and app parser has the test runner parser
-
由 Rudá Moura 提交于
Fix functional tests regarding the changes that moves options from the main application to the test runner (avocado run). Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Move plugins journal, json, xunit and vm inside the test runner subcommand, now the command line options belongs to the runner, instead of the main application. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Export the test runner parser back to the main parser, so you can use `parser.runner` to extend it. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Add priority when loading plugins (both built-in or external). The lowest the priority (0 by default) then earliest the plugin will be loaded. In the current implementation, only the runner plugin has priority 0 and the other plug-ins are all defined as priority 3. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
test progress API: removed simplistic check_progress() idea
-
- 29 8月, 2014 10 次提交
-
-
由 Cleber Rosa 提交于
The check_progress() idea is too simplistic for what we aim for, so let's remove it to prevent test writers from depending on it. Also, rename communicate_state() to report_state(). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Trivial fixes sprint12
-
由 Lucas Meneghel Rodrigues 提交于
In avocado, we use 'less' for a paginator. When one presses 'q' in the paginator, an IOError is raised (the subprocess opened with os.popen has just quit), so let's introduce a Paginator class, that can handle cleanly 'q' without asking API users to handle the exception themselves. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make it have the same meaning as with the previous multiplex system (9 variants, loop and sync parameters with short, medium and long variants). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make the multiplexer plugin to properly produce the environment relative to each variant. Before, we had an exception when calling option -c. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
avocado.docs: Update documentation regarding argument parsing.
-
由 Rudá Moura 提交于
Update documentation regarding the last update on argument parsing. Like option --silent goes to run subcommand and there's no need to quote for multiples test names. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 28 8月, 2014 2 次提交
-
-
由 Cleber Rosa 提交于
avocado.test: Use job.unique_id to build temporary path.
-
由 Rudá Moura 提交于
if job.unique_id is available in test, use this information to build the temporary path used in attribute workdir. The template format is $TMP/job-<unique_id>-<random>/. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
- 27 8月, 2014 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
avocado.cli.parser: New way to parsing arguments.
-
由 Rudá Moura 提交于
The parser for the subcommand run now accepts one or more tests ids (paths / aliases) and there isn't a need to quote the list as a string. Example: * Before: avocado 'sleeptest failtest /usr/bin/true' * Now: avocado sleeptest failtest /usr/bin/true So it's now possible to run avocado like `avocado run *.py`. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Rudá Moura 提交于
Remove generic option --silent and turn it to subcommand run. Signed-off-by: NRuda Moura <rmoura@redhat.com>
-