- 20 4月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
Avocado's "data_dir" has always been meant for readable **and** writable content. Right now, this is broken because the system wide default for "base_dir" (data_dir's parent) is set to /usr/share/avocado, and consequently, "data_dir" is set to /usr/share/avocado/data. Let's use "/var/lib/avocado" for the "base_dir", and "/var/lib/avocado/data" for the "data_dir". Content intended to be read-only, such as example tests and wrappers, are still set to /usr/share/avocado. This has been tested with Avocado-VT, making the result of system wide content, such as test providers and downloadable files be put under "/var/lib/avocado/data/avocado-vt". Reference: https://trello.com/c/KU1DvSAzSigned-off-by: NCleber Rosa <crosa@redhat.com>
-
- 19 4月, 2017 3 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: python-avocado.spec: fix excluded files for optional plugin packages
-
由 Cleber Rosa 提交于
Commit 7a249b7c removed files that were intended to be packaged in the optional plugin packages. By doing so, they ended up in the main package. This fixes that issue, and puts both the directories with the package and module name (which differ) into each optional plugin package file listing. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 18 4月, 2017 3 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: fix output on unknown tests
-
由 Amador Pahim 提交于
When the tests references cannot be resolved to a test_suite, the results plugins should not output anything. Reference: https://trello.com/c/oMQsQHC6Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 13 4月, 2017 6 次提交
-
-
由 Lukáš Doktor 提交于
We prove that `post_tests` will always be executed when `pre_tests` was. Let's remove the unnecessary `__del__` handling of teststmpdir. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This adds the documentation of pre/post tests plugin interface including the conditions under which they are or are not executed. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This commit enables the left-behind-temporary-dirs check between each test. As all selftests are executed as a single process the BORG class keeps the TMP dir of the unit-tests. To avoid results spoiled by this fact this commit adds a force-cleanup of the tmp dir tracker overriding the BORG internal state, which is not really nice, but for selftests acceptable. The method to clean it was especially named "unittest_refresh_dir_tracker" to emphasize it should not be used outside of unittest. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
In some tests we override the job workflow, let's make sure the post_tests is executed whenever pre_test was. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Remove the temporary script files which are not located in tmpdirs. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: SPEC file: sync how we build snapshot and release packages
-
- 12 4月, 2017 3 次提交
-
-
由 Lukáš Doktor 提交于
Use the combination of path-ordered leaves names and a hash of combined fingerprint as variant_id. This should improve human-readability of the results and also it should produce machine-friendly unique names, which change when values in variant are modified. Because the leaves names are ordered by path, the order of yaml file does not affect the variant_id. On the other hand any modified/added value changes the fingerprint and therefor variant_id. Important feature is also that the variant still contains the default_params, but the variant-id is not affected by it. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The TreeEnvironment uses default-dict representation, which uses __repr__ on items. This is not really human friendly and more importantly it contains dynamic data (object id) which changes per execution and we are using environment in fingerprint, which does not really work well for TreeNodeDebug. This patch replaces the __repr__ with __str__ which improves the readability and avoids the dynamic data. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The TreeNode.fingerprint() generates string, which represents the value of the node. The idea is to represent the content of the node and it's environment and such for the purpose of evaluating, whether other node is alike. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 10 4月, 2017 4 次提交
-
-
由 Cleber Rosa 提交于
Downstream (Fedora and EPEL) RPM packages have had a different way of building release (by default) and snapshot packages by editing the SPEC file. Let's sync with them, while also allowing snapshot packages to be built from our usual `make rpm` command. Release builds are still supported with `make rpm-release`. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: Altered the way linux_modules checks loaded module linux_modules returns parameter type
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com> * https://github.com/avocado-framework/avocado: utils: Add "get_interfaces_in_pci_address" method to pci.py
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 08 4月, 2017 1 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 07 4月, 2017 6 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Using more than one docstrig directive makes Avocado to use only the first one. This patch makes the safeloader to handle multiple docstring directives (i.e. `
🥑 enable` and `🥑 tags=foo`). Reference: https://trello.com/c/6FpySXuCSigned-off-by: NAmador Pahim <apahim@redhat.com> -
由 Venkat R B 提交于
Add a new function, which takes pci_address and pci_class as i/P and returns corresponding pci_interface Signed-off-by: NVenkat R B <vrbagal1@linux.vnet.ibm.com>
-
由 Narasimhan V 提交于
avocado/utils/linux_modules: module_is_loaded() was using loaded_module_info() to check if a module is loaded or not, which is a roundabout approach, and prints some unnecessary information as well. Made it to read /proc/modules to check this. Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Narasimhan V 提交于
avocado/utils/linux_modules: In addition to parameters, their types are also returned by loaded_module_info() Signed-off-by: NNarasimhan V <sim@linux.vnet.ibm.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
- 06 4月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
Currently the `selftests/run_coverage` only reports unit coverage. This patch allows specifying custom `avocado` command in selftests and uses it to run coverage to also include the functional tests to results. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 04 4月, 2017 6 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
`system-out` should be in the same level as `failure`, but we are creating it as a `failure` child. This patch puts system-out in the same level as `failure` and adds the functional test to validate all the xunit outputs against the junit-4.xsd schema. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Let's move the junit schema file to .data so we can reuse it for functional tests. Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 03 4月, 2017 6 次提交
-
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
The package names have changed, let's sync that with what's used in the release example testplan. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Amador Pahim 提交于
Signed-off-by: NAmador Pahim <apahim@redhat.com>
-
由 Cleber Rosa 提交于
Simply because this file won't be available when being installed from any method outside the source tree. The downside is obvious: it requires extra steps when doing a new release. But that is still better than not being able to ship these plugins to users using the standard Python mechanisms. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Now that the optional plugins have been excluded from the main git archive, let's create them (currently with setuptools sdist command). Also, let's adjust the upload instruction a bit to signal that other packages may be in PYPI_UPLOAD too. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-