Functional tests: prevent the persistence of temporary job results
Some functional tests, most of which execute a full avocado command, were missing the `--job-results-dir`, pointing to a directory that would be removed after the tests. This has led to the pollution of the standard job results directory (usually `~/avocado/job-results`) when selftests are run. This proposal fixes all but one set of functional tests, which has to be fixed with a different set of changes (see reference). Besides the functional tests, some unittests are also creating job results that should be discarded. It's believed that at least some of this is caused by the relationship between tests and jobs, but this is speculation and it's not attepted to be fixed on this patch. Reference: https://trello.com/c/I2ieqhR5Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录