* [PATCH 0/2] lib/oeqa/selftest/lic-checksum cleanup
@ 2015-03-16 18:14 Randy Witt
2015-03-16 18:14 ` [PATCH 1/2] lib/oeqa/selftest/lic-checksum: Rename test_foo Randy Witt
2015-03-16 18:14 ` [PATCH 2/2] lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS Randy Witt
0 siblings, 2 replies; 3+ messages in thread
From: Randy Witt @ 2015-03-16 18:14 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 7f30749fe026e9ceb75d73b89271145a45a60763:
oeqa/parselogs: Skip hda opcode errors (2015-03-12 12:50:24 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib rewitt/checksum_test
for you to fetch changes up to 21b26ec68cf0ebd9fec0fbf60cf2dc52a4bb79ba:
lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS (2015-03-16 10:50:05 -0700)
----------------------------------------------------------------
Randy Witt (2):
lib/oeqa/selftest/lic-checksum: Rename test_foo
lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS
meta/lib/oeqa/selftest/lic-checksum.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] lib/oeqa/selftest/lic-checksum: Rename test_foo
2015-03-16 18:14 [PATCH 0/2] lib/oeqa/selftest/lic-checksum cleanup Randy Witt
@ 2015-03-16 18:14 ` Randy Witt
2015-03-16 18:14 ` [PATCH 2/2] lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS Randy Witt
1 sibling, 0 replies; 3+ messages in thread
From: Randy Witt @ 2015-03-16 18:14 UTC (permalink / raw)
To: openembedded-core
test_foo is renamed to test_nonmatching_checksum. It was a mistake to
submit it with the old name.
There was also some extra whitespace removed.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
---
meta/lib/oeqa/selftest/lic-checksum.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py
index 0c1afa6..9a9f7b2 100644
--- a/meta/lib/oeqa/selftest/lic-checksum.py
+++ b/meta/lib/oeqa/selftest/lic-checksum.py
@@ -6,10 +6,10 @@ from oeqa.utils.commands import bitbake
from oeqa.utils import CommandError
class LicenseTests(oeSelfTest):
-
+
# Verify that changing a license file that has an absolute path causes
# the license qa to fail due to a mismatched md5sum.
- def test_foo(self):
+ def test_nonmatching_checksum(self):
bitbake_cmd = '-c configure emptytest'
error_msg = 'ERROR: emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc'
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS
2015-03-16 18:14 [PATCH 0/2] lib/oeqa/selftest/lic-checksum cleanup Randy Witt
2015-03-16 18:14 ` [PATCH 1/2] lib/oeqa/selftest/lic-checksum: Rename test_foo Randy Witt
@ 2015-03-16 18:14 ` Randy Witt
1 sibling, 0 replies; 3+ messages in thread
From: Randy Witt @ 2015-03-16 18:14 UTC (permalink / raw)
To: openembedded-core
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-16 18:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-16 18:14 [PATCH 0/2] lib/oeqa/selftest/lic-checksum cleanup Randy Witt
2015-03-16 18:14 ` [PATCH 1/2] lib/oeqa/selftest/lic-checksum: Rename test_foo Randy Witt
2015-03-16 18:14 ` [PATCH 2/2] lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS Randy Witt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.