diff options
Diffstat (limited to 'bitbake/lib/bb/tests/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/tests/runqueue.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/runqueue.py b/bitbake/lib/bb/tests/runqueue.py index f0cea6483f..f22ad4bd81 100644 --- a/bitbake/lib/bb/tests/runqueue.py +++ b/bitbake/lib/bb/tests/runqueue.py | |||
@@ -97,6 +97,15 @@ class RunQueueTests(unittest.TestCase): | |||
97 | expected = ['a1:fetch', 'a1:unpack', 'a1:patch'] | 97 | expected = ['a1:fetch', 'a1:unpack', 'a1:patch'] |
98 | self.assertEqual(set(tasks), set(expected)) | 98 | self.assertEqual(set(tasks), set(expected)) |
99 | 99 | ||
100 | def test_mix_covered_notcovered(self): | ||
101 | with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: | ||
102 | cmd = ["bitbake", "a1:do_patch", "a1:do_populate_sysroot"] | ||
103 | sstatevalid = self.a1_sstatevalid | ||
104 | tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid) | ||
105 | expected = ['a1:fetch', 'a1:unpack', 'a1:patch', 'a1:populate_sysroot_setscene'] | ||
106 | self.assertEqual(set(tasks), set(expected)) | ||
107 | |||
108 | |||
100 | # Test targets with intermediate setscene tasks alongside a target with no intermediate setscene tasks | 109 | # Test targets with intermediate setscene tasks alongside a target with no intermediate setscene tasks |
101 | def test_mixed_direct_tasks_setscene_tasks(self): | 110 | def test_mixed_direct_tasks_setscene_tasks(self): |
102 | with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: | 111 | with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: |