Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 72274
Status: new
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/command-help fails when non-interactive (?)
i'm maintaining perlbrew for mageia. updating perlbrew to 0.31, all tests work locally. when submitting to build system, t/command-help fails with: $ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for App::perlbrew Writing MYMETA.yml $ make -j24 test PERL_DL_NONLAZY=1 /usr/bin/perl5.14.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00.load.t ......................... ok t/01.options.t ...................... ok t/02.format_perl_version.t .......... ok t/03.path_with_tilde.t .............. ok t/03.test_get_available_versions.t .. ok t/04.find_available_perls.t ......... ok t/04.test_uniq.t .................... ok t/05.get_current_perl.t ............. ok t/06.installed_perls.t .............. skipped: No perl installation under PERLBREW_ROOT t/07.argv.t ......................... ok t/08.error_available.t .............. ok t/08.error_install.t ................ ok t/08.error_install_blead.t .......... ok t/08.error_install_cpanm.t .......... ok t/08.error_mirror.t ................. ok t/09.exit_status.t .................. ok t/10.resolve.t ...................... ok t/11.editdist.t ..................... ok t/11.root_from_arg.t ................ ok t/command-available.t ............... ok t/command-display-rc.t .............. ok t/command-env.t ..................... ok t/command-exec.t .................... ok # Failed test 'help should instruct user to read help for individual commands.' # at t/command-help.t line 19. # '' # doesn't match '(?^si:perlbrew help <command>)' # Looks like you failed 1 test of 1. t/command-help.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/command-install-cpanm.t ........... ok t/command-install-patchperl.t ....... ok t/command-lib.t ..................... ok t/command-list.t .................... ok t/installation.t .................... ok t/installation2.t ................... ok Test Summary Report ------------------- t/command-help.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=30, Tests=150, 3 wallclock secs ( 0.10 usr 0.02 sys + 2.03 cusr 0.24 csys = 2.39 CPU) Result: FAIL Failed 1/30 test programs. 1/150 subtests failed. make: *** [test_dynamic] Error 255 since help command is interactive, and build system offers no prompt, i guess it might be related. maybe skipping the whole test if IO::Interactive reports false?