Skip to content

Specified target dependency resolution bugs #58

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 petenewc...@gmail.com on 26 Aug 2011 at 1:34

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions