Skip Menu |

This queue is for tickets about the Perl6-Builtins CPAN distribution.

Report information
The Basics
Id: 20070
Status: open
Priority: 0/
Queue: Perl6-Builtins

People
Owner: Nobody in particular
Requestors: dan.horne [...] redbone.co.nz
Cc:
AdminCc:

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



Subject: Tests fail on install - should they?
I get the following errors when instaling (Centos v4 / RHEL 4): # ./Build test t/00.load.........ok 1/1# Testing Perl6::Builtins v0.0.3 t/00.load.........ok t/caller..........ok t/pod-coverage....ok t/pod.............ok t/system..........ls: write error: Bad file descriptor t/system..........NOK 1 # Failed test 'successful system command' # in t/system.t at line 6. Can't exec "PAY_NO_ATTENTION_TO_THIS": No such file or directory at /tmp/Perl6-Builtins-0.0.3/blib/lib/Perl6/Builtins.pm line 26. t/system..........ok 2/0ls: write error: Bad file descriptor t/system..........NOK 3 # Failed test 'successful deferred system command' # in t/system.t at line 10. Can't exec "PAY_NO_ATTENTION_TO_THIS": No such file or directory at /tmp/Perl6-Builtins-0.0.3/blib/lib/Perl6/Builtins.pm line 26. # Looks like you failed 2 tests of 6. t/system..........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1, 3 Failed 2/6 tests, 66.67% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/system.t 2 512 6 2 33.33% 1 3 Failed 1/5 test scripts, 80.00% okay. 2/32 subtests failed, 93.75% okay. I'm a bit confused. Does "PAY_NO_ATTENTION_TO_THIS" imply that I should ignore the test error, and force the install?
From: davidl [...] lmert.com
It's not a Linux-specific error ... I get substantially the same error on perl 5.14 built with Visual Studio 2008 on Windows (built on XP, currently running on 7).
Subject: Re: [rt.cpan.org #20070] Tests fail on install - should they?
Date: Wed, 2 Jul 2014 13:26:04 -0700
To: bug-Perl6-Builtins [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks for the feedback. This module is no longer under active maintenance. More importantly, it does not track the current behaviour of Perl 6 at all. If you're looking for a better API to system(), try one of these: IPC::Run IPC::System::Simple Running::Commentary If you're looking for a Perl 5 API similar to (a subset of) Perl 6's caller() behaviour, try: Perl6::Caller Hope this helps, Damian