1. 14 8月, 2015 8 次提交
  2. 13 8月, 2015 10 次提交
    • L
      Merge pull request #765 from lmr/more-helpful-subprocess-msg-v2 · e439247d
      Lukáš Doktor 提交于
      [V2] Fix unhelpful message when calling process/GDB APIs
      e439247d
    • L
      Merge pull request #759 from lmr/rename-plugins-avocado-side · 73d29863
      Lukáš Doktor 提交于
      Makefile: Modify avocado-vt plugin links
      73d29863
    • L
      Fix unhelpful message when calling process/GDB APIs · 69c7d0b5
      Lucas Meneghel Rodrigues 提交于
      The process and gdb related APIs trust on subprocess.Popen
      to start a process. When shell=False and the command being
      executed is missing, Subprocss.Popen will raise an OSError
      with errno 2, with no additional message about what file
      is actually missing.
      
      OSError: [Errno 2] No such file or directory
      
      As you might have guessed, my workaround is to capture
      OSErrors with errno 2, and re-raise them with a more
      helpful message.
      
      'File /usr/bin/gdbserver not found'
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      69c7d0b5
    • L
      avocado.core.output: Add a padding space on test list · a2ae5b2c
      Lucas Meneghel Rodrigues 提交于
      This is a slight tweak on the appearance of the test
      list in the human readable output - a single space
      between the beginning of the line and the beginning
      of the output (test numbering).
      
      Before:
      
      avocado run examples/tests/gdbtest.py
      JOB ID     : 569340b20c85ed09a6164e8ce21e7b547e75802a
      JOB LOG    : /home/lmr/avocado/job-results/job-2015-08-12T18.12-569340b/job.log
      TESTS      : 21
      (1/21) examples/tests/gdbtest.py:GdbTest.test_connect_multiple_clients: PASS (2.43 s)
      (2/21) examples/tests/gdbtest.py:GdbTest.test_disconnect: PASS (2.45 s)
       ...
      (21/21) examples/tests/gdbtest.py:GdbTest.test_stream_messages: PASS (0.15 s)
      RESULTS    : PASS 21 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
      JOB HTML   : /home/lmr/avocado/job-results/job-2015-08-12T18.12-569340b/html/results.html
      TIME       : 19.34 s
      
      After:
      
      avocado run examples/tests/gdbtest.py
      JOB ID     : 569340b20c85ed09a6164e8ce21e7b547e75802a
      JOB LOG    : /home/lmr/avocado/job-results/job-2015-08-12T18.12-569340b/job.log
      TESTS      : 21
       (1/21) examples/tests/gdbtest.py:GdbTest.test_connect_multiple_clients: PASS (2.43 s)
       (2/21) examples/tests/gdbtest.py:GdbTest.test_disconnect: PASS (2.45 s)
       ...
       (21/21) examples/tests/gdbtest.py:GdbTest.test_stream_messages: PASS (0.15 s)
      RESULTS    : PASS 21 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
      JOB HTML   : /home/lmr/avocado/job-results/job-2015-08-12T18.12-569340b/html/results.html
      TIME       : 19.34 s
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      a2ae5b2c
    • L
      avocado.core.result: Show HTML report at the end of human readable results · 6b6a47fa
      Lucas Meneghel Rodrigues 提交于
      Instead of showing it at the beginning, when it's not
      ready yet.
      
      Before:
      
      JOB ID     : 751ceef63264d7749211875de16a0a719b80ccd3
      JOB LOG    : /home/lmr/avocado/job-results/job-2015-08-12T18.17-751ceef/job.log
      JOB HTML   : /home/lmr/avocado/job-results/job-2015-08-12T18.17-751ceef/html/results.html
      TESTS      : 1
      (1/1) passtest.py:PassTest.test: PASS (0.00 s)
      RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
      TIME       : 0.00 s
      
      After:
      
      JOB ID     : b92df2a8389bbc0c3569263968ca6509ec562825
      JOB LOG    : /home/lmr/avocado/job-results/job-2015-08-12T18.17-b92df2a/job.log
      TESTS      : 1
      (1/1) passtest.py:PassTest.test: PASS (0.00 s)
      RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
      JOB HTML   : /home/lmr/avocado/job-results/job-2015-08-12T18.17-b92df2a/html/results.html
      TIME       : 0.00 s
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      6b6a47fa
    • L
      Makefile: Modify avocado-vt plugin links · ad705223
      Lucas Meneghel Rodrigues 提交于
      With avocado-vt plugins renamed, 'make link' must
      change.
      
      ATTENTION: Please do a 'make clean' before applying
      this patch (or clean your source tree before 'make link').
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      ad705223
    • L
      Merge pull request #757 from ldoktor/stderr · 9214b78d
      Lucas Meneghel Rodrigues 提交于
      avocado.core.output: Use stdout to log test statuses
      9214b78d
    • L
      Merge pull request #756 from ldoktor/gdb · 8d75a00c
      Lucas Meneghel Rodrigues 提交于
      avocado.core.test: Use GDB-friendly srcdir
      8d75a00c
    • L
      avocado.core.runner: Change the throbber colors · d2d6623a
      Lukáš Doktor 提交于
      Throbber (test progress) supports two colors. Currently it turns green
      only when new status arrives, which is currently only used when we
      interrupt the test (GDB) or when the test finishes. Then the throbber
      turns green for one iteration and back to yellow in next iteration.
      
      This patch changes the behavior so the throbber is green when the test
      process is alive and yellow when it's interrupted.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d2d6623a
    • L
      avocado.core.output: Use stdout to log test statuses · aa110812
      Lukáš Doktor 提交于
      The human output prints the test name, progress and pass/skip test
      statuses into stdout and fail/error/interrupt ones as stderr. This
      results in unreadable output. This patch logs all of them in stdout.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      aa110812
  3. 12 8月, 2015 1 次提交
  4. 11 8月, 2015 4 次提交
  5. 10 8月, 2015 12 次提交
  6. 07 8月, 2015 2 次提交
  7. 05 8月, 2015 3 次提交