- 03 3月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
Asset fetcher changed the fallback directory to be the data_dir/cache isntead of a test temporary directory. This patch reflects in docs that change. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 02 3月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
Find for files in multiple locations, caching it when successfully fetched. Available as fetch_asset() method in avocado.Test(). Reference: https://trello.com/c/KTeMIx0uSigned-off-by: NAmador Pahim <apahim@redhat.com>
-
- 29 2月, 2016 2 次提交
-
-
由 Cleber Rosa 提交于
The get_data_path utility API of the Test class is a convenience, it simply joins the name of a given file to the datadir location. IMHO the value is low when compared to the pollution of the namespace and yet another compatibility/stability promise. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
These two attributes are simply utility logger instances that test writers can use to write "directly" to the test process' STDOUT and STDERR. I agree that having those ready to use inside a test is a nice to have, but I don't think it justifies the polution to the test class namespace. Let's remove those and document how the user can use Python's standard logging API to retrieve the logger instances that Avocado provides to tests. This will continue to exist and be supported. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 12 2月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
Sometimes it's useful for debugging purposes to pause the running test. This is currently hard as tests run as subprocess. This patch adds a special handler for SIGTSTP (ctrl+z) which sends SIGSTOP/SIGCONT to the test process and it's children. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 1月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
This patch is merging the concepts of TEST_NA and SKIP, making the consequent status more relevant for the users. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 16 1月, 2016 1 次提交
-
-
由 Amador Pahim 提交于
Doccument the --replay option for the run command. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 08 1月, 2016 4 次提交
-
-
由 Cleber Rosa 提交于
It looks like a lot of our users are also hackers and want to run Avocado from source. Since version 0.31.0 this requires one additional step. Let's properly and permanently document it. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The previous text "please adapt to your platform" is enough. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
If contributors choose to send patches to the mailing list, we'll take them. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
So that regular and advanced users (Avocado hackers) know better where to look for specific information. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 1月, 2016 1 次提交
-
-
由 Lukáš Doktor 提交于
RHEL requires epel to be enabled. Let's mention it in the documentation. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 23 12月, 2015 3 次提交
-
-
由 Cleber Rosa 提交于
Commit 63077e79 introduced the `make requirements` target. Let's use that on the documentation, since it can cover more scenarios such as Python 2.6 users. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Commit f415c4d8 introduced this useful feature. Let's document how it can be used. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 12月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 18 12月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 07 12月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
While going through the dependency list (requirements*.txt files) and performing our self tests out of virtual environments, I noticed that some tests are run outside the virtual environments. The reason is that, even though the virtual environment is activated for the test session (and say, `which python` gives `/venv/bin/python`), we have hard coded `/usr/bin/python` in most places. According to the some discussions on the virtualenv project itself[1], a quick solution is to revert to the also common `/usr/bin/env python` way of pointing to the Python interpreter. [1] - https://github.com/pypa/virtualenv/issues/124Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 11月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
Ideally our HTML formatted docs would have toggable line numbers. Since we don't have that, let's just try to be clearer about the line numbers not being part of the multiplex file format. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 05 11月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Together with the asset files, we'll now host the RPM repos at a couple of OpenShift instances, named after the Avocado Project. The two main repo files are located at: * https://repos-avocadoproject.rhcloud.com/static/avocado-fedora.repo * https://repos-avocadoproject.rhcloud.com/static/avocado-el.repo And they point to the same base URL for individual repositories. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 30 10月, 2015 1 次提交
-
-
由 Lukáš Doktor 提交于
It's prone to mistakes maintain two separate ways to query for tests (running them and displaying available ones). This patch implements --dry-run, which follows the full "run" process, only instead of running the test it skips them. Additionally the --dry-run uses some tweaks to tell them apart from normal executions, namely: 1. No sysinfo gathering 2. Unique id is 0000000000000000000000000000000000000000 3. Unless user provides custom log location, fresh tmpdir is used Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 28 10月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
In preparation for the large plugin refactor, let's simplify the code ASAP and drop related (custom) functionality that is going to be replaced. Standard setuptools entrypoints is going to provide better capability then our custom code that supports external 'avocado_*.py'module loading. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 27 10月, 2015 1 次提交
-
-
由 Cleber Rosa 提交于
The other URL, which denotes git+ssh, requires the user to acknowledge host SSH keys and so forth. Let's keep things simple. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 08 10月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
In order for the process to not get lost and help newer maintainers, here's a writeup with the steps to keep in mind when releasing avocado. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 10月, 2015 5 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Give a brief explanation of the test detection mechanism and link to WritingTests for more details on how to use the test tags. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a note about safe test loading and the docstring tags functionality. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lukáš Doktor 提交于
This patch doesn't change any functionality, it only renames the inner_runner to external_runner (the plugin is called simply external) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Currently InnerRunner lives within the FileLoader plugin and overrides it's function in case inner_runner is supplied. This patch extracts it and creates separate plugin for it. This plugin is still part of the core and is registered automatically during the runtime. On --inner-runner usage it overrides the --loader order and registers only itself as by specifying --inner-runner people asks to use it. When inner_runner is specified in --loader, it's processed accordingly to the priority. When one uses only "inner_runner" without extra_params, it never matches any tests (to keep the behavior). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The usage usage of incorrect test-types (types which can't be executed like missing file, broken symlink ...) was not found useful. This patch only allows "good" test types to be listed and possible to use. Additionally the test type now requires to specify loader and type to avoid possible clashes (and to emphasize the relation between loader and test type). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 05 10月, 2015 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 02 10月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
The modules.png file is a static file that would need manual update with almost every single commit. This is rather impractical and doesn't add that much value to the regular user. If a developer wants to take a look at the dependency graph, a Makefile target still exists that will give a user a fresh graph. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
And while at it, also include the source (SVG) version of the same diagram. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 01 10月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
The BUGGY test concept relies on loading/executing the Python file containing the tests and failing to do so. Since Avocado won't load/execute Python test files anymore, it's not possible or desirable to keep the BUGGY tests around. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Currently we can only specify the loader plugins order via settings. This patch adds "--loaders" argument and improves the granularity. Now it's possible to set either @plugin_name, or TEST_TYPE, where TEST_TYPE is the mapped name of the plugin (eg. SIMPLE, VT, ...) There is one special name "DEFAULT", which injects all unspecified loaders in the position of the "DEFAULT" keyword. When "DEFAULT" is not specified, not-listed plugins/test_types are not evaluated. (therefor it's possible to restrict some test loaders or only some test types). As the usecase changed slightly, the settings option was renamed from plugins.loader_plugins_priority to plugins.loaders. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 30 9月, 2015 2 次提交
-
-
由 Cleber Rosa 提交于
So that it looks/sounds better. Also included is a related documentation fix. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
By leveraging the `avocado.core.virt.VM.ip_address` method, let's make the `--vm-hostname` optional. If the IP address can not be found, then ask users to manually provide it. If the user has a VM running, or has had it running a "while" back, chances are pretty high Avocado will be able to find it's IP address. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 11 9月, 2015 1 次提交
-
-
由 Srikanth Aithal 提交于
Currently the yaml contents in this page is missing '!mux' keyword, run as-is will show users errors. Fixing by adding keyword '!mux' to the yaml content. Signed-off-by: NSrikanth Aithal <sraithal@linux.vnet.ibm.com>
-
- 08 9月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
If avocado is running from git repos, instead of a regular system wide install, in tree config files will be used instead of the system wide config files. Make that clear in the documentation. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-