[v2,01/12] CI: Update Avocado version

Message ID 20230303144727.481716-2-amikan@ilbers.de
State Accepted, archived
Headers show
Series Next avocado improvements​ | expand

Commit Message

Anton Mikanovich March 3, 2023, 2:47 p.m. UTC
Dump Avocado framework version to 100.1
This requires removing deprecated nrunner suffix.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 scripts/ci_build.sh | 4 ++--
 testsuite/README.md | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 5350ad8..37d51f7 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -22,7 +22,7 @@  if ! command -v avocado > /dev/null; then
     virtualenv --python python3 /tmp/avocado_venv
     # shellcheck source=/dev/null
     source /tmp/avocado_venv/bin/activate
-    pip install avocado-framework==99.0
+    pip install avocado-framework==100.1
 fi
 
 # Get Avocado build tests path
@@ -133,5 +133,5 @@  export VIRTUAL_ENV="./"
 set -x
 
 avocado ${VERBOSE} run "${TESTSUITE_DIR}/citest.py" \
-    -t "${TAGS}" --nrunner-max-parallel-tasks=1 --disable-sysinfo \
+    -t "${TAGS}" --max-parallel-tasks=1 --disable-sysinfo \
     -p quiet="${QUIET}" -p time_to_wait="${TIMEOUT}"
diff --git a/testsuite/README.md b/testsuite/README.md
index 50698da..d8adc7f 100644
--- a/testsuite/README.md
+++ b/testsuite/README.md
@@ -15,25 +15,25 @@  $ pip install avocado-framework==99.0
 ## Quick developers test
 
 ```
-$ avocado run ../testsuite/citest.py -t dev --nrunner-max-parallel-tasks=1
+$ avocado run ../testsuite/citest.py -t dev --max-parallel-tasks=1
 ```
 
 ## Single target test
 
 ```
-$ avocado run ../testsuite/citest.py -t single --nrunner-max-parallel-tasks=1 -p machine=qemuamd64 -p distro=bullseye
+$ avocado run ../testsuite/citest.py -t single --max-parallel-tasks=1 -p machine=qemuamd64 -p distro=bullseye
 ```
 
 ## Fast build test
 
 ```
-$ avocado run ../testsuite/citest.py -t fast --nrunner-max-parallel-tasks=1 -p quiet=1
+$ avocado run ../testsuite/citest.py -t fast --max-parallel-tasks=1 -p quiet=1
 ```
 
 ## Full build test
 
 ```
-$ avocado run ../testsuite/citest.py -t full --nrunner-max-parallel-tasks=1 -p quiet=1
+$ avocado run ../testsuite/citest.py -t full --max-parallel-tasks=1 -p quiet=1
 ```
 
 ## Fast boot test