@@ -403,6 +403,15 @@ class RunQueueTests(unittest.TestCase):
self.shutdown(tempdir)
+ def test_skip_deps(self):
+ with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
+ cmd = ["bitbake", "a1", "-c", "install", "--skip-deps"]
+ tasks = self.run_bitbakecmd(cmd, tempdir)
+ expected = ['a1:install']
+ self.assertEqual(set(tasks), set(expected))
+
+ self.shutdown(tempdir)
+
def shutdown(self, tempdir):
# Wait for the hashserve socket to disappear else we'll see races with the tempdir cleanup
while (os.path.exists(tempdir + "/hashserve.sock") or os.path.exists(tempdir + "cache/hashserv.db-wal") or os.path.exists(tempdir + "/bitbake.lock")):