- 03 10月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
The html plugin uses entry-point "avocado_result_html", but the pkg name is "avocado-framework-plugin-result-html" and that is what "pkg_resources.require" accepts. This required few tweaks related to recent changes to html plugin which produces a single result file instead of multiple files. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 02 10月, 2017 1 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 29 9月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: MANIFEST.in: there are no longer YAML files under examples
-
- 28 9月, 2017 6 次提交
-
-
由 Cleber Rosa 提交于
This fixes the warning "warning: no files found matching 'examples/*.yaml'" while running "make develop". Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
As in previous commits, job should not count on arguments being present, such as "base_logdir". This also needs to be handled when using dry run mode. Since the dry run implementation creates a temporary directory itself, it needs to be cleaned up in addition to the tmpdir created by setUp. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
One of the premises of the Job class is that it can be created without any mandatory information set in the args parameter. But, because of the way we're testing it, we always pass a base_logdir. This test is about making sure the job gets a base_logdir, and consequently a logdir, even when a base_logdir is not set in the args. The implementation of this test is based on the fact that there's already a tmpdir that can be used for playing the role of a base_logdir. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
We already handle the lack of a unique_job_id in a job, but when using dry run, the check is not being done in a way that waives that requirement. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
The Job class code uses the same name, logdir, for both the directory that will hold a given job's results (job-<timestamp>-<shortid>) and the base directory, where the first one will be created. This changes the naming so that the base log dir, only present in the job arguments (the argparse.Namespace instance) will be named "base_logdir". The job's result dir, which value is kept in the job instance itself, is still named "logdir". Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
In theory, the option will always be set when running a job with the accompanying "CLI" plugin enabled. In practice, some of the selftests create Job instances, and the "mux_debug" option may not be present. The exact error that occurs in these situations is: ERROR| Reproduced traceback from: [...]/avocado/core/dispatcher.py:255 ERROR| Traceback (most recent call last): ERROR| File "[...]/optional_plugins/varianter_yaml_to_mux/avocado_varianter_yaml_to_mux/__init__.py", line 416, in initialize ERROR| if args.avocado_variants.debug: ERROR| AttributeError: 'Namespace' object has no attribute 'avocado_variants' ERROR| ERROR| Error running method "initialize" of plugin "yaml_to_mux": 'Namespace' object has no attribute 'avocado_variants' Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 27 9月, 2017 4 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Previously the _get_avocado_git_version used current directory to attempt to find out whether it's being executed from git sources, anyway this fails when running from other directory, or when running rpm-version while being inside avocado.git dir. This version uses `os.path.dirname(__file__)`, which should be in git-tree, unless one uses special configuration. Note we could use `dirname(dirname(dirname(__file__)))` but that would only work for python2 as python3 requires py2to3 fixtures, which are usually produced in `build` directory within the sources, therefor `git` is going to find the expected files just fine. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes, just pylint/docstring fixes Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Makefile: keep using Python 2, but fallback to Python 3
-
- 21 9月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
This shouldn't change the experience for current users, but it makes Makefile work on environments with Python 3 only. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 20 9月, 2017 2 次提交
-
-
由 Amador Pahim 提交于
The issue is with ":", not with ";". We changed the wrong character. This reverts commit 60a65d20. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 9月, 2017 11 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: vmimage: adjust the 64bits arch on Debian/Ubuntu
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: avocado/core/job.py: make GIT optional when getting Avocado version
-
由 Cleber Rosa 提交于
An Avocado job execution will log the GIT information when it's run from a GIT repo. But, let's make having GIT optional, so that we don't introduce yet another depedency. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Spelling fixes
-
由 Cleber Rosa 提交于
Just the usual spelling fixes and additions to the ignore list. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Debian and Ubuntu use 'amd64' to refer to 64bits arch. Let's use 'amd64' when the specified arch (auto-discovered or not) is 'x86_64'. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Loader: be clear about the meaning of NOT_A_TEST
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: selftests/unit/test_test.py: fix typo in test name Test ID: make the format friendlier for Windows FS
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
NOT_A_TEST is a test resolution result that currently only applies to INSTRUMENTED, PyUNITTEST and SIMPLE tests. The message given on the command line, though, doesn't make that completely clear because it omits the PyUNITTEST and SIMPLE test types. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 18 9月, 2017 3 次提交
-
-
由 Lukáš Doktor 提交于
The extra category for plugins looks confusing to me. This patch slightly changes the wording and moves the links to optional plugins directly into the PIP installation section. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 16 9月, 2017 4 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
It's possible that some daemons spawn other processes. Theoretically killing the main process should clean everything, but to be certain let's kill the full process tree (still it's possible the process creates double-forked daemons which won't be killed, though). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The daemons has to be also stopped in end_test_hook, otherwise they would be preserved after Avocado is finished. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Amador Pahim 提交于
The use of shell in subprocess should not be needed and might bring some security issues. Let's disable it. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 15 9月, 2017 5 次提交
-
-
由 Amador Pahim 提交于
Let's update the command to install the packages dependencies to the latest fedora. In this commit: - Switch from 'yum' to 'dnf'. - Add python2: latest Fedora does not ship python2 package in minimal installation. - Add libffi-devel and openssl-devel: not shipped in latest Fedora minimal installation. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
The _create_from_yaml contains many branches, let's extract the usable chunks into methods to improve readability. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Few style fixes, there is slight modification to behavior of `loader` constructors, which now accept *args instead of 2 hardcoded arguments, but they don't actually use the values so it does not matter much. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The loader import is a leftover from when the yaml_to_mux_loader was part of this plugin, which was separated and this import does not serve any purpose. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-