[OE-core] [PATCH 2/2] lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS

Randy Witt randy.e.witt at linux.intel.com
Mon Mar 16 18:14:14 UTC 2015


The test_nonmatching_checksum doesn't need the default dependencies,
and they would just take extra time to generate.

Signed-off-by: Randy Witt <randy.e.witt at linux.intel.com>
---
 meta/lib/oeqa/selftest/lic-checksum.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py
index 9a9f7b2..92fc3a8 100644
--- a/meta/lib/oeqa/selftest/lic-checksum.py
+++ b/meta/lib/oeqa/selftest/lic-checksum.py
@@ -17,7 +17,8 @@ class LicenseTests(oeSelfTest):
         os.close(lic_file)
         self.track_for_cleanup(lic_path)
 
-        self.write_recipeinc('emptytest', 'LIC_FILES_CHKSUM = "file://%s;md5=d41d8cd98f00b204e9800998ecf8427e"' % lic_path)
+        self.write_recipeinc('emptytest', 'INHIBIT_DEFAULT_DEPS = "1"')
+        self.append_recipeinc('emptytest', 'LIC_FILES_CHKSUM = "file://%s;md5=d41d8cd98f00b204e9800998ecf8427e"' % lic_path)
         result = bitbake(bitbake_cmd)
 
         with open(lic_path, "w") as f:
-- 
1.9.3




More information about the Openembedded-core mailing list