1. 07 10月, 2016 1 次提交
    • D
      plugin: docker add extra option for docker-run command · 9fca1079
      Dmitry Monakhov 提交于
      
      Docker run enviroments mostly configured by extra run options.
      Let's allow runnter to pass it.
      #Example:
      Run test in remote docker with privileged commands allowed(mount, kvm, etc)
      and bindmount local directory '/vol' to '/v' inside container
      $ avocado run --docker-options="-H=tcp://remote:2375 --privileged -v /vol:/v" \
      	      --docker dmonakhov/debian-avocado passtest.py
      
      
      9fca1079
  2. 05 10月, 2016 1 次提交
  3. 04 10月, 2016 7 次提交
  4. 03 10月, 2016 1 次提交
  5. 30 9月, 2016 7 次提交
  6. 29 9月, 2016 3 次提交
    • L
      selftests.checkall: Enable fail-fast per-test · f30ebdec
      Lukáš Doktor 提交于
      Currently the fail-fast works per section (pylint style, unittests, ...)
      but this patch enables it also inside the unittests, therefor it
      finishes with the first failed unittest finishing even quicker than
      before.
      Note that this option is incompatible with the parallel check.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      f30ebdec
    • L
      selftests.checkall: Support for parallel unittests execution · 9d46cf4b
      Lukáš Doktor 提交于
      This patch allows running the tests in parallel, when
      AVOCADO_PARALLEL_CHECK env variable is set. It spawns 2xno_cpu workers
      (or less when there are not enough tests), captures the output and shows
      only output of failed workers. Before the exit it also reports the
      number of executed tests in the same fashion as normal unittest
      execution (without the number of failed tests, though).
      
      On my laptop this decreases the duration from 125s to 28s.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      9d46cf4b
    • L
      selftests.checkall: Improve the readability · 0e2cc213
      Lukáš Doktor 提交于
      This patch adds summary at the end of the execution and uses colors to
      mark start and finish of each section. This might produce some
      unexpected characters on redirections/unsupported terminals at the
      beginning and endings of the highlighted lines, but in most cases it
      looks way better and those +3 chars can be ignored by humans.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      0e2cc213
  7. 28 9月, 2016 1 次提交
  8. 27 9月, 2016 12 次提交
  9. 26 9月, 2016 6 次提交
  10. 24 9月, 2016 1 次提交