소스 검색

Filter out in the set of expected entries, to allow for better analysis
of failed tests, and more accurate testing as well

Yentl Van Tendeloo 8 년 전
부모
커밋
237a00f47d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      integration/utils.py

+ 2 - 0
integration/utils.py

@@ -172,6 +172,7 @@ def run_file(files, parameters, expected, wait=False):
                     assert val in e
                     if val not in e:
                         return False
+                    e.remove(val)
                 elif e is None:
                     # Skip output value
                     pass
@@ -269,6 +270,7 @@ def run_barebone(parameters, expected, interface="0", timeout=False, wait=False,
                     assert val in e
                     if val not in e:
                         return False
+                    e.remove(val)
                 elif e is None:
                     # Skip this input
                     pass