]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS
authorRandy Witt <randy.e.witt@linux.intel.com>
Mon, 16 Mar 2015 18:14:14 +0000 (11:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Mar 2015 11:03:15 +0000 (11:03 +0000)
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/lic-checksum.py

index 9a9f7b21a162ac31f881801269cf05e1e4a9f741..92fc3a84f1391c87944308fdec425a6cc08b23e5 100644 (file)
@@ -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: