Fixed a bug where codegen would crash due to a missing flag.

Review Request #2368 - Created June 15, 2015 and submitted

Information
Garrett Malmquist
pants
gmalmquist/codegen-flag-fix
1683
de526ce...
Reviewers
pants-reviews
jsirois, patricklaw, zundel

Specifically, the error message (or warning, depending on the flag) printed if a
target generates the same sources as one of its parents.

Also fixed a bug where an exception message was in the wrong namespace, which would
have crashed nastily if it was ever thrown.

Added/updated simple_codegen_task test-cases to cover these things.

Added tests in test_simple_codegen_task.py.

CI went green: https://travis-ci.org/pantsbuild/pants/builds/66922872

Eric Ayers
Eric Ayers
Garrett Malmquist
Garrett Malmquist
John Sirois
Garrett Malmquist
Review request changed

Status: Closed (submitted)

Change Summary:

In master @5a55b2229d3e4fb10d0f71cd608ce5b69b5c3768

Loading...