1. 02 8月, 2015 1 次提交
  2. 01 8月, 2015 3 次提交
  3. 31 7月, 2015 13 次提交
  4. 30 7月, 2015 19 次提交
  5. 29 7月, 2015 4 次提交
    • L
      avocado.core.multiplexer: Assign tag to match multiplex variant · 913ab2ab
      Lukáš Doktor 提交于
      "avocado multiplex" and "avocado run" should share the same variant
      numbers. This patch forces multiplexer to set the tag when generating
      multiple variants. This way the tag is always set accordingly to the
      variant.
      
      When multiple tests of the same name are executed, the first argument is
      the multiplexed variant number and additional `.$num` is added to
      generate unique name.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      913ab2ab
    • L
      avocado.utils.process: Notify user the test resumed after GDB debug · 1559424f
      Lukáš Doktor 提交于
      When the user disconnects from the GDB, test resumes and it might take
      quite a long time. This patch notifies user that avocado is aware of him
      leaving the GDB session and of resuming the test execution.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      1559424f
    • L
      avocado.core.job: Show root logger in --show-job-log · f67795b3
      Lukáš Doktor 提交于
      The test log compounds of "avocado.test" and the "$ROOT" logger. We must
      follow the same when displaying --show-job-log.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      f67795b3
    • L
      avocado.core.runner: Do better Ctrl+C handling · c400b2f4
      Lucas Meneghel Rodrigues 提交于
      Due to successive refactors in the test runner mechanism,
      we did not notice that our Ctrl+C handling during job
      execution went south. This patch fixes it by moving the
      interruption handling to a place where we can actually
      break free from the test looping. I also made the interrupt
      messages cleaner, while keeping them informative.
      
      The behavior "don't kill test subprocesses unless the user
      really wants it" was also kept. You can test this by
      running the multiplex test (large collection of tests):
      
      $ scripts/avocado run examples/tests/multiplextest.py --multiplex examples/tests/multiplextest.py.data/multiplextest.yaml
      JOB ID     : 783b06e69da4bbc964709748c12f014b65ef5b52
      JOB LOG    : /home/lmr/avocado/job-results/job-2015-07-29T02.05-783b06e/job.log
      JOB HTML   : /home/lmr/avocado/job-results/job-2015-07-29T02.05-783b06e/html/results.html
      TESTS      : 1440
      (1/1440) examples/tests/multiplextest.py:MultiplexTest.test: PASS (0.00 s)
      ...
      (16/1440) examples/tests/multiplextest.py:MultiplexTest.test.15: PASS (0.00 s)
      (17/1440) examples/tests/multiplextest.py:MultiplexTest.test.16:  ^C
      Interrupt requested. Waiting 3 seconds for test to finish (ignoring new Ctrl+C until then)
      RESULTS    : PASS 16 | ERROR 0 | FAIL 0 | SKIP 1424 | WARN 0 | INTERRUPT 0
      TIME       : 0.12 s
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      c400b2f4