1. 23 2月, 2018 1 次提交
    • C
      Python 3: do not allow failures on CI, but only run unittests and doc · 494405ae
      Cleber Rosa 提交于
      This removes the exception of allowing failures on the Travis CI jobs
      with Python 3, while, at the same time, temporary restricts Python 3
      jobs to run only unittests and the documentation build for the Avocado
      core.  That is, it excludes the functional tests, and the optional
      plugin's tests.
      
      While it may look like a step back, it's actually a step forward in the
      Python 3 port, because now any regression on the unittests will be caught.
      And, when the additional fixes are applied to address the functional tests
      and plugin's tests, the whole set of tests will be enabled for Python 3.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      494405ae
  2. 22 12月, 2017 2 次提交
  3. 21 12月, 2017 2 次提交
  4. 31 5月, 2017 1 次提交
  5. 15 5月, 2017 1 次提交
  6. 13 4月, 2017 1 次提交
    • L
      selftests: Run check_tmp_dirs between selftests · 00d4d3aa
      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>
      00d4d3aa
  7. 06 2月, 2017 1 次提交
  8. 07 11月, 2016 1 次提交
  9. 29 9月, 2016 1 次提交
  10. 11 9月, 2015 1 次提交
  11. 03 9月, 2015 1 次提交
    • C
      Selftests: drop nose usage for plain unittest discovery · e9c0d813
      Cleber Rosa 提交于
      The unittest module, and unittest2 backport on Python 2.6, is capable of
      finding unittests and running them. So, effectively, we do not need nose
      at all.
      
      This patch removes the dependency on nose, replacing the run script
      with a version based solely on the unittest module.
      
      One change of functionality is that run now looks and runs tests in the
      standard selftests directories (unit, functional, doc), and does not
      accept command line arguments. If one wants to run a subset of them,
      it's pretty easy to just use the unittest module for that:
      
       $ python -m unittest discover -s selftests/unit
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      e9c0d813
  12. 18 3月, 2015 1 次提交
  13. 18 2月, 2015 1 次提交
  14. 28 11月, 2014 1 次提交
  15. 21 11月, 2014 1 次提交
  16. 15 5月, 2014 1 次提交
  17. 23 4月, 2014 1 次提交
  18. 17 4月, 2014 1 次提交
  19. 16 4月, 2014 1 次提交