Problems? Is your data what you think it is? | |
PerlMonks |
Re^4: Perl-5.22.1 in ARM system (Ignoring test failures is stupid)by 1nickt (Canon) |
on Dec 31, 2015 at 15:53 UTC ( [id://1151593]=note: print w/replies, xml ) | Need Help?? |
The above is terrible advice. The tests are there for a reason: to alert you to problems or potential problems. While it is true that you can install and use modules when not all their tests pass, how will you know which test failures are safe to ignore? First you should investigate which test (s) is/are failing, then look at them to see what the significance is. Observe the log and then when you see a test reported as failing, go right to that test file and run it again, with the verbose flag, and see what it says as output. If that doesn't enlighten you, read the source for the test. If you don't get it, post a question on the module's support page. After one of these steps maybe you'll be able to conclude that the test is not that important and you can install the module anyway. Or, maybe you'll see that your system is incompatible with the version you are installing, or there's a missing linked C library or something like that. But simply to ignore test failures while building software, because there are just a few of them or for any other reason, is just completely stupid.
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|