skip inline* tests when Acme::Alien::DontPanic has an obviously bad dist_dir #108
skip inline* tests when Acme::Alien::DontPanic has an obviously bad dist_dir #108
Conversation
The link doesn't work for me. And yeah, not having one of the dummy modules should not block a (working!) installation of AB, but then again, how do we test that it is working without them? |
That's weird the link isn't working for me now either. |
Here is the correct link: and the dashboard in case I type it wrong again: |
@jberger Agree with your comment but I think that the inline* tests do their bests to ensure the inline integration works, but at the same time not break real life installs. This PR just makes the testing a little more complete. We could make them developer only tests, but then we loose any feedback from cpantesters. |
This makes sense, but it seems a little too specific. How about having an invalid |
This should address #108, and also provide a useful diagnostic in other situations
@zmughal Good suggestion. In fact just reading your response reminded me that |
Just to explain if it isn't clear |
@@ -114,6 +114,8 @@ sub import { | |||
my $class = shift; | |||
|
|||
return if $class->install_type('system'); | |||
|
|||
$class->dist_dir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to add a comment on why this line is called here (e.g., "Sanity check in order to ensure that dist_dir can be found. This will throw an exception otherwise.")
Other than my comment (just for documentation purposes), this looks good to me. Merge: Aye |
Likewise: please add that comment. Then: aye. |
This is on its way to CPAN as |
This should address #108, and also provide a useful diagnostic in other situations
This should address #108, and also provide a useful diagnostic in other situations
This should address #108, and also provide a useful diagnostic in other situations
This should address #108, and also provide a useful diagnostic in other situations
This should address #108, and also provide a useful diagnostic in other situations
Alien-Base: This should address #108, and also provide a useful diagnostic in other situations
This would probably have fixed this test failure:
http://ppm4.activestate.com/x86_64-linux/5.20/2000/P/PL/PLICEASE/Alien-Base-0.010.d/log20150217T080630.txt
Looks like it is trying to use a blib install gone bad. Isolating the problem with Acme::Alien::DontPanic would ultimately be good, but I don't want that to block a working Alien::Base install.