Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specified target dependency resolution bugs #58

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 0 comments
Open

Specified target dependency resolution bugs #58

GoogleCodeExporter opened this issue Mar 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

  1. run: hamake -f "file://$(pwd)/multiple-parents.xml" e

  2. run: hamake -f "file://$(pwd)/dangling-sibling.xml" e

What is the expected output? What do you see instead?

  1. hamake should run rules c, d, and then e, but instead hamake only runs rule c

  2. hamake should run rule b, then rule c, and then rule e, but hamake also runs rule d

Please use labels and text to provide additional information.

  The attached patch addresses two core problems during specified target dependency
  resolution:

  1. NoDepsExecutionGraph.getRootParent() returns only one of potentially many root parents

  2. NoDepsExecutionGraph.getReadyForRunTasks() gets the root parent and then finds all
     not-done children, instead of finding all not-done parents.

Original issue reported on code.google.com by [email protected] on 26 Aug 2011 at 1:34

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant