quattor / maven-tools

Maven-based Build Tools
www.quattor.org
Apache License 2.0
3 stars 12 forks source link

Perl warnings during tests are equivalent to failing test (and warn_is_ok function to disable this behaviour) #112

Closed stdweird closed 7 years ago

stdweird commented 7 years ago

Treat perl warnings as equivalent to the failure of a test.

Can be disabled by calling warn_is_ok() and reenabled by warn_is_ok(0)

stdweird commented 7 years ago

@jrha is going to be so much fun when this is deployed :smile:

jrha commented 7 years ago

:fearful:

jrha commented 7 years ago

I've added a description, please check and correct if necessary.

stdweird commented 7 years ago

@jrha thx

ned21 commented 7 years ago

I take it this does not take effect until the component's pom.xml has its version bumped? i.e. it is safe to merge and then we can start fixing the fall out?

stdweird commented 7 years ago

@ned21 yes. (and even if we have to bump build-tools for whatever reason, we can still turn it off if fixing would take too much time)