Skip to content

Commit

Permalink
Merge pull request #5843 from clebergnu/103_lts_optional_plugins_review
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja authored Dec 26, 2023
2 parents 8006aef + b98e3f2 commit a63902f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
1 change: 0 additions & 1 deletion optional_plugins/golang/avocado_golang/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def run(self, runnable):
def poll_proc():
return process.poll() is not None

yield self.prepare_status("started")
yield from self.running_loop(poll_proc)

result = "pass" if process.returncode == 0 else "fail"
Expand Down
14 changes: 6 additions & 8 deletions optional_plugins/html/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ To install the HTML plugin from pip, use::

Once installed it produces the results in job results dir::

$ avocado run avocado/examples/tests/sleeptest.py avocado/examples/tests/failtest.py avocado/examples/tests/synctest.py
$ avocado run avocado/examples/tests/sleeptest.py avocado/examples/tests/failtest.py
JOB ID : 480461f676fcf2a8c1c449ca1252be9521ffcceb
JOB LOG : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/job.log
(2/3) avocado/examples/tests/failtest.py:FailTest.test: STARTED
(1/3) avocado/examples/tests/sleeptest.py:SleepTest.test: STARTED
(2/3) avocado/examples/tests/failtest.py:FailTest.test: FAIL: This test is supposed to fail (0.04 s)
(3/3) avocado/examples/tests/synctest.py:SyncTest.test: STARTED
(1/3) avocado/examples/tests/sleeptest.py:SleepTest.test: PASS (1.01 s)
(3/3) avocado/examples/tests/synctest.py:SyncTest.test: PASS (1.17 s)
RESULTS : PASS 2 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
(2/2) avocado/examples/tests/failtest.py:FailTest.test: STARTED
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: STARTED
(2/2) avocado/examples/tests/failtest.py:FailTest.test: FAIL: This test is supposed to fail (0.04 s)
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: PASS (1.01 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/results.html
JOB TIME : 2.76 s

Expand Down
4 changes: 4 additions & 0 deletions optional_plugins/varianter_cit/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ turn become different test scenarios.
To learn more about this algorithm, please take a look to the papers
listed below.

To install the Avocado CIT plugin from pip, use::

$ sudo pip install avocado-framework-plugin-varianter-cit

To run the example below, use the test included in the avocado code ::

$ git clone https://github.com/avocado-framework/avocado.git
Expand Down
4 changes: 4 additions & 0 deletions optional_plugins/varianter_pict/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ is not as convenient as having it on your ``$PATH``.
Using the PICT Varianter Plugin
-------------------------------

To install the Avocado PICT plugin from pip, use::

$ sudo pip install avocado-framework-plugin-varianter-pict

To run the example below, use the test included in the avocado code ::

$ git clone https://github.com/avocado-framework/avocado.git
Expand Down

0 comments on commit a63902f

Please sign in to comment.