[dts] [PATCH V2 9/9] framework/tester: optimize scripts

Jiale Song songx.jiale at intel.com
Fri Aug 25 17:28:25 CEST 2023


to ensure the normal state of the tester interface link, the interface
recovery step should not be skipped when starting DTS using the "--skip
setup" parameter.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 framework/tester.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/tester.py b/framework/tester.py
index 5e6c72ad..051a2236 100644
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -309,7 +309,7 @@ class Tester(Crb):
         """
         Restore Linux interfaces.
         """
-        if self.skip_setup:
+        if self.read_cache:
             return
 
         if not self.is_container:
-- 
2.25.1



More information about the dts mailing list