Skip to content

generatesSources() exhibits confusing behavior for inexact path matches #38

Open
@sdp2128

Description

@sdp2128

Assume that a generatesSources() clause is evaluated under the following conditions:

  • All the generated sources are parseable
  • All of the expected sources are parseable
  • There is at least one mismatch between the URI of the expected source list and the compiled source list

If each one of the generated sources can be paired with an expected source having an equal compilation tree, then the clause succeeds

However, if at least one generated source cannot be paired with a syntactically equal expected source, then the clause will fail with the message "Did not find a source file named ..."

The error indicates that the failure was due to a mismatched path, when in fact the clause will succeed without changing any path at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions