Giter VIP home page Giter VIP logo

ipc-run3-shell's People

Contributors

haukex avatar

Watchers

 avatar  avatar  avatar

Forkers

dolmen-perl5

ipc-run3-shell's Issues

Tests should not expect an exact number of warnings

Some tests for this module check the exact number of warnings that a certain piece of code produces. Since Perl may add warnings in the future, that's not forward compatible, and sometimes it causes problems with backwards compatibility too:
http://www.cpantesters.org/cpan/report/fcf17bc0-03a4-11e5-83fe-dd35e14af301
Those tests should be changed so that they only check the warnings that are under the control of the module, and maybe also those warnings that have been present in Perl for a long time and are unlikely to be removed.

t/41_os_darwin.t fails as root

t/41_os_darwin.t ....... [...] defaults [...]
Domain com.apple.Safari does not exist
Command "defaults" failed: exit status 1 at t/41_os_darwin.t line 31
# Looks like your test exited with 25 before it could output anything.
t/41_os_darwin.t ....... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 3/3 subtests 

Workaround: If this is the only test failure, it's perfectly safe to force the module install anyway.

My Mac OS X specific tests rely too much on a desktop user running them and need to be updated accordingly.

undefs in argument list cause problems with Win32::ShellQuote

see e.g. http://www.cpantesters.org/cpan/report/e6675458-6c84-1014-808a-d1168ac59954

Use of uninitialized value $text in substitution (s///) at C:/strawberry/perl/vendor/lib/Win32/ShellQuote.pm line 84.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 36.
t/13_warn_fail.t ....... 
Dubious, test returned 25 (wstat 6400, 0x1900)
All 36 subtests passed

IPC::Run3 >= 0.047 uses Win32::ShellQuote (see rjbs/IPC-Run3#5 and https://github.com/haarg/Win32-ShellQuote), which uses use warnings FATAL=>'all';, which seems to be what's causing argument lists with undef values to die. (Could be addressed in any of the three modules.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.