summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-03 18:34:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-15 10:28:12 +0100
commitfb8fc5e78c475e217655a05add516c2520d17a4e (patch)
tree109da1d36f254df247299ab31b540dd06b21d459 /bitbake/lib/bb/tests
parent97fda91810a062a36e419b4d3993a4a36f90f7b9 (diff)
downloadpoky-fb8fc5e78c475e217655a05add516c2520d17a4e.tar.gz
bitbake: event/runqueue: Drop StampUpdate event, its pointless/unused
Whilst this class has existed for years, it doesn't have any users and has a questionable interface. Drop it to allow for further simplification and changes. (Bitbake rev: 3ab51764f7965d696bb2c5a872bf161473df4289) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests')
-rw-r--r--bitbake/lib/bb/tests/event.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/bitbake/lib/bb/tests/event.py b/bitbake/lib/bb/tests/event.py
index b6e40c6ae9..9229b63d47 100644
--- a/bitbake/lib/bb/tests/event.py
+++ b/bitbake/lib/bb/tests/event.py
@@ -561,14 +561,6 @@ class EventClassesTest(unittest.TestCase):
561 self.assertEqual(event.fn(1), callback(1)) 561 self.assertEqual(event.fn(1), callback(1))
562 self.assertEqual(event.pid, EventClassesTest._worker_pid) 562 self.assertEqual(event.pid, EventClassesTest._worker_pid)
563 563
564 def test_StampUpdate(self):
565 targets = ["foo", "bar"]
566 stampfns = [lambda:"foobar"]
567 event = bb.event.StampUpdate(targets, stampfns)
568 self.assertEqual(event.targets, targets)
569 self.assertEqual(event.stampPrefix, stampfns)
570 self.assertEqual(event.pid, EventClassesTest._worker_pid)
571
572 def test_BuildBase(self): 564 def test_BuildBase(self):
573 """ Test base class for bitbake build events """ 565 """ Test base class for bitbake build events """
574 name = "foo" 566 name = "foo"