Patchwork selftest/sstatetests.py: Added 'populate_lic' to ignore_patterns

login
register
mail settings
Submitter Corneliu Stoicescu
Date April 3, 2014, 10:26 a.m.
Message ID <1396520767-12910-1-git-send-email-corneliux.stoicescu@intel.com>
Download mbox | patch
Permalink /patch/70045/
State New
Headers show

Comments

Corneliu Stoicescu - April 3, 2014, 10:26 a.m.
Because the sstate-cache-management script does not remove populate_lic
sstate files, we should ignore them when checking for removed files.

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
---
 meta/lib/oeqa/selftest/sstatetests.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py
index 27561ca..35ff28b 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -153,7 +153,7 @@  class SStateTests(SStateBase):
         target_config = []
         global_config.append('')
         target_config.append('PR = "0"')
-        self.run_test_sstate_cache_management_script('m4', global_config,  target_config)
+        self.run_test_sstate_cache_management_script('m4', global_config,  target_config, ignore_patterns=['populate_lic'])
 
     def test_sstate_cache_management_script_using_pr_2(self):
         global_config = []
@@ -162,7 +162,7 @@  class SStateTests(SStateBase):
         target_config.append('PR = "0"')
         global_config.append('')
         target_config.append('PR = "1"')
-        self.run_test_sstate_cache_management_script('m4', global_config,  target_config)
+        self.run_test_sstate_cache_management_script('m4', global_config,  target_config, ignore_patterns=['populate_lic'])
 
     def test_sstate_cache_management_script_using_pr_3(self):
         global_config = []