diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/build.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/tests/parse.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 8ad9f5de2a..a228b05ddd 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -818,8 +818,8 @@ def add_tasks(tasklist, d): | |||
818 | if 'deps' in flags: | 818 | if 'deps' in flags: |
819 | for dep in flags['deps']: | 819 | for dep in flags['deps']: |
820 | # Check and warn for "addtask task after foo" while foo does not exist | 820 | # Check and warn for "addtask task after foo" while foo does not exist |
821 | if not dep in tasklist: | 821 | #if not dep in tasklist: |
822 | bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task)) | 822 | # bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task)) |
823 | dep = d.expand(dep) | 823 | dep = d.expand(dep) |
824 | task_deps['parents'][task].append(dep) | 824 | task_deps['parents'][task].append(dep) |
825 | 825 | ||
diff --git a/bitbake/lib/bb/tests/parse.py b/bitbake/lib/bb/tests/parse.py index aa7adc40f2..747fc35fc2 100644 --- a/bitbake/lib/bb/tests/parse.py +++ b/bitbake/lib/bb/tests/parse.py | |||
@@ -203,5 +203,5 @@ deltask do_fetch do_patch | |||
203 | self.assertTrue("addtask contained multiple 'after' keywords" in stdout) | 203 | self.assertTrue("addtask contained multiple 'after' keywords" in stdout) |
204 | self.assertTrue('addtask ignored: " do_patch"' in stdout) | 204 | self.assertTrue('addtask ignored: " do_patch"' in stdout) |
205 | self.assertTrue('deltask ignored: " do_patch"' in stdout) | 205 | self.assertTrue('deltask ignored: " do_patch"' in stdout) |
206 | self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout) | 206 | #self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout) |
207 | 207 | ||