Skip to contentSkip to conversation

tests/avocado: Remove p7zip binary availability check

PATCH In review Philippe Mathieu-Daudé 3 participants 4 messages Nov 6, 2021 – Nov 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/avocado: Remove p7zip binary availability check

The single use of the 7z binary has been removed in commit a30e114f3 ("tests/acceptance: remove Armbian 19.11.3 test for orangepi-pc"), we don't need to check for this binary availability anymore.

---
Based-on: <[email protected]>

---
 tests/avocado/boot_linux_console.py | 7 -------
 1 file changed, 7 deletions(-)
tests/avocado/boot_linux_console.py +0 -7
index 4ed01ed7893..9c618d4809f 100644
@@ -22,13 +22,6 @@
 from avocado_qemu import wait_for_console_pattern
 from avocado.utils import process
 from avocado.utils import archive
-from avocado.utils.path import find_command, CmdNotFoundError
-
-P7ZIP_AVAILABLE = True
-try:
-    find_command('7z')
-except CmdNotFoundError:
-    P7ZIP_AVAILABLE = False
 
 """
 Round up to next power of 2
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines · Philippe Mathieu-Daudé

The single use of the 7z binary has been removed in commit a30e114f3 ("tests/acceptance: remove Armbian 19.11.3 test for orangepi-pc"), we don't need to check for this binary availability anymore.

---
Based-on: <[email protected]>

---
  tests/avocado/boot_linux_console.py | 7 -------
  1 file changed, 7 deletions(-)
tests/avocado/boot_linux_console.py +0 -0
index 4ed01ed7893..9c618d4809f 100644
@@ -22,13 +22,6 @@
  from avocado_qemu import wait_for_console_pattern
  from avocado.utils import process
  from avocado.utils import archive

tests/avocado/boot_linux_console.py line 27

Quoted 10 lines
tests/avocado/boot_linux_console.py +0 -7
-from avocado.utils.path import find_command, CmdNotFoundError
-
-P7ZIP_AVAILABLE = True
-try:
-    find_command('7z')
-except CmdNotFoundError:
-    P7ZIP_AVAILABLE = False
 
  """
  Round up to next power of 2
Reviewed-by on v1 1/1
#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 5 lines · Philippe Mathieu-Daudé

The single use of the 7z binary has been removed in commit a30e114f3 ("tests/acceptance: remove Armbian 19.11.3 test for orangepi-pc"), we don't need to check for this binary availability anymore.

Quoted 7 lines

---
Based-on: <[email protected]>

---
 tests/avocado/boot_linux_console.py | 7 -------
 1 file changed, 7 deletions(-)
#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé

The single use of the 7z binary has been removed in commit a30e114f3 ("tests/acceptance: remove Armbian 19.11.3 test for orangepi-pc"), we don't need to check for this binary availability anymore.

---
Based-on: <[email protected]>

---
 tests/avocado/boot_linux_console.py | 7 -------
 1 file changed, 7 deletions(-)

Patch queued to avocado-next.