[V2,9/9] framework/tester: optimize scripts

Message ID 20230825152825.2831565-10-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series add functions to test MEV |

Commit Message

Jiale, SongX Aug. 25, 2023, 3:28 p.m. UTC
  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@intel.com>
---
 framework/tester.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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: