- 29 7月, 2014 2 次提交
-
-
由 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>
-
- 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>
-
- 16 7月, 2014 2 次提交
-
-
由 Cleber Rosa 提交于
I was stupid enough to have a typo in URL (see previous commit). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
While we don't have a proper homepage, point to the avocado repo. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 15 7月, 2014 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Whiteboard as a "1st class citizen"
-
- 14 7月, 2014 7 次提交
-
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Based on some discussions, we decided to make the whiteboard a test instance attribute (string) that is automatically exposed to test results. For the use case of persisting multiple files with the test result, the test data dir can still be used (refer to the `gendata` test). Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Rudá Moura 提交于
avocado: Rename test.datadir to test.outputdir and test.depsdir to test....
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make the names used consistent between attributes and methods inside the Test class. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In fact those names are more clear as to the purpose of each directory. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 10 7月, 2014 4 次提交
-
-
由 Cleber Rosa 提交于
Joblog bugfix
-
由 Lucas Meneghel Rodrigues 提交于
Make a reasonable effort in checking the amount of lines avocado outputs to the job log. If it is less than a certain amount, we might be having output problems. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
The JSON output plugin was stopping file output before due time, therefore only the first instance of the test was being logged. Let's fix that. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
I realize it was a bad naming choice I made while writing the Job class the use of 'debugdir' and 'debuglog'. It should have been 'logdir' and 'logfile', just as they are used in the Test class. This patch fixes it. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 7月, 2014 4 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
We don't enforce 80 columns, but in this case there was no reason why we couldn't keep the docstring under said restriction. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Cleber Rosa 提交于
Add new test gendata
-
由 Cleber Rosa 提交于
Add a new test that exercises the test whiteboard. When run multiplexed, it writes both simple text and binary random data, in different sizes and number of writes. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
This introduces a simple file-like attribute of every single test, named, you guessed it right, `whiteboard`. This can be written multiple times during the test run, or a single time at the very end of the test, as the test writter wishes. It will be automatically closed (and flushed) when the test ends. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 08 7月, 2014 1 次提交
-
-
由 Cleber Rosa 提交于
Generates json and png images, and saves them at the newly introduced test own data dir. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 07 7月, 2014 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Add new test sleeptenmin
-
由 Lucas Meneghel Rodrigues 提交于
Sleep for 600 seconds, to see how avocado behaves under such circumstances. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Multiplextest
-