From 96db8f4f3ac7079fb6620122fff84d79d0933903 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 26 Dec 2023 14:53:03 -0500 Subject: [PATCH 1/4] Docs/HTML Plugin: remove mention of synctest.py This example was removed from tests/example, so let's remove its mention here too. Signed-off-by: Cleber Rosa --- optional_plugins/html/README.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/optional_plugins/html/README.rst b/optional_plugins/html/README.rst index c1056a1ad3..ffbbf6f7b0 100644 --- a/optional_plugins/html/README.rst +++ b/optional_plugins/html/README.rst @@ -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 From 3cd208fef558532cf856f89107882206c911bf60 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 26 Dec 2023 14:54:01 -0500 Subject: [PATCH 2/4] Robot plugin: remove duplicate "started" messages The robot plugin is erroneously generating duplicated "started" messages. Signed-off-by: Cleber Rosa --- optional_plugins/golang/avocado_golang/runner.py | 1 - 1 file changed, 1 deletion(-) diff --git a/optional_plugins/golang/avocado_golang/runner.py b/optional_plugins/golang/avocado_golang/runner.py index 8fe7635d75..0942bf3e62 100644 --- a/optional_plugins/golang/avocado_golang/runner.py +++ b/optional_plugins/golang/avocado_golang/runner.py @@ -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" From 752d87d7462fc2c4839f6671be814e1a36b7b420 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 26 Dec 2023 15:03:04 -0500 Subject: [PATCH 3/4] Docs/Varianter/CIT: add info on how to install the plugin Signed-off-by: Cleber Rosa --- optional_plugins/varianter_cit/README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/optional_plugins/varianter_cit/README.rst b/optional_plugins/varianter_cit/README.rst index d323da2d7f..7267e2974d 100644 --- a/optional_plugins/varianter_cit/README.rst +++ b/optional_plugins/varianter_cit/README.rst @@ -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 From b98e3f2ec357e1b3a221f46de9ff430182d3b555 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 26 Dec 2023 15:06:05 -0500 Subject: [PATCH 4/4] Docs/Varianter/PICT: add info on how to install the plugin Signed-off-by: Cleber Rosa --- optional_plugins/varianter_pict/README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/optional_plugins/varianter_pict/README.rst b/optional_plugins/varianter_pict/README.rst index 3b13875ca0..26f54301f7 100644 --- a/optional_plugins/varianter_pict/README.rst +++ b/optional_plugins/varianter_pict/README.rst @@ -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