- 04 8月, 2014 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Fix vm plugin
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 01 8月, 2014 7 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
So the vm plugin can correctly determine the logs dir. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
We missed that on the whiteboard work. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Rudá Moura 提交于
Signed-off-by: NRuda Moura <rmoura@redhat.com>
-
由 Cleber Rosa 提交于
multiplexer plugin: simple usability fix
-
由 Lucas Meneghel Rodrigues 提交于
Flat tests
-
由 Lucas Meneghel Rodrigues 提交于
Packaging fixes
-
由 Lucas Meneghel Rodrigues 提交于
Make avocado tests to refer to their test ids (paths), relative to the directory you are in. For example, running: avocado run tests/sleeptest.py will give you DEBUG LOG: /home/lmr/avocado/logs/run-2014-07-31-12.54.01/debug.log TOTAL TESTS: 1 (1/1) tests/synctest.py.1: PASS (1.93 s) Test log and data directories were changed accordingly. Now, if your test is synctest.py, your data dir will be called synctest.py.data. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 31 7月, 2014 4 次提交
-
-
由 Cleber Rosa 提交于
Since the multiplex file is a positional argument, we can not say it's a required parameter, but we can and should check that at least one was provided. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 29 7月, 2014 10 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add tests to verify if passing the full test path works, rather than the test ID, and if an empty test ID/alias triggers the correct error code. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Give the user a nice message rather than a crash report. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So we can let the test runner to notify the user of incorrect options passed in. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Now tests don't need their own directories. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
If tests do want to provide a datadir, it must be in the same directory as the test source file. We probably need to review this limitation and provide other interesting alternatives. 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 want avocado tests to not require specific directories, the user should be able to arrange them in the dir structure they see fit. Also, if a test requires data, we suppose their data dir is located in the same directory as the source file, with the name: [modulename].data Re arrange the test dir to reflect this new structure. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make it possible to load avocado tests from any path, rather than enforcing the rule '1 test has 1 dir'. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
We're planning to move away from the rule 1 test == 1 directory In order to do that, we need to be able to tell the difference between a dropin test (this can be written in any language as long as it is an executable file) and an avocado test (a python file that contains a test class derived from the base avocado test file). Introduce in the path library a path inspector, that has code to figure this out. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 26 7月, 2014 1 次提交
-
-
由 Rudá Moura 提交于
Avocado utils work
-
- 25 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
The timeout there is unnecessary and introduces races. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 22 7月, 2014 8 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
It saves quite a lot of code, since this is such a common operation in avocado. I'd like to have the reviewer to give a good thought of whether this is a good solution or not (I think it is, although API names and such could be better thought off). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Add a module for path related operations in avocado.utils. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is nice to be able to refer to modules using the dot notation. This fixes some missing imports in the avocado.utils module, as well as it removes unused ones. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Having 'misc' libraries tends to encourage people to dump random functions without much thought as to their location. Let's rename 'misc' to 'io'. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Also, reorder write_file and write_one_line. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
That part is not going to be executed anyway. It's probably a leftover from previous iterations. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
That function is not used in the avocado code base, and it is superseded by standard library function os.path.relpath(). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The presence of a misc module encourages dumping functions there without thought to better module names to put them on. Let's remove the unique function since it can be expressed by the combination of 2 native python types, should the need arise. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 7月, 2014 6 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Make reference to the 'trusty' ubuntu version, rather than the outdated 'saucy'. Also, put the ubuntu maintainer's email in the source generation package. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
tests/multiplextest: Fix typo
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
tests/gendata: Fix unused variable
-
- 17 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-