Skip Menu |

This queue is for tickets about the Test-Command-Simple CPAN distribution.

Report information
The Basics
Id: 104368
Status: resolved
Priority: 0/
Queue: Test-Command-Simple

People
Owner: Nobody in particular
Requestors: dmacks [...] netspace.org
Cc:
AdminCc:

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



Subject: Test-suite failure on OS X
Date: Tue, 12 May 2015 02:25:08 -0400
To: bug-Test-Command-Simple [...] rt.cpan.org
From: "Daniel Macks" <dmacks [...] netspace.org>
Running 'make test' on Test-Command-Simple 0.04 fails on OS X. PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 Bailout called.  Further testing stopped:  No support for OS I think it's just a regex/logic problem in the test suite: BAIL_OUT("No support for OS")     if $^O =~ /win/i && $^O !~ /cygwin/i; The $^O platform name for OS X is "darwin", which matches /win/ and doesn't match /cygwin/. I have no idea what the possible windows $^O values are to know what the "right way" to catch them is. Maybe just /^win/ (then no need for /cygwin/ exception to it)? Or for simplicity, just also code an exception for /darwin/? dan -- Daniel Macks dmacks@netspace.org
Hopefully 0.05 resolves this. Thanks for the report.
Subject: Re: [rt.cpan.org #104368] Test-suite failure on OS X
Date: Tue, 09 Jun 2015 16:16:11 -0400
To: Darin McBride via RT <bug-Test-Command-Simple [...] rt.cpan.org>
From: "Daniel Macks" <dmacks [...] netspace.org>
Most are fixed, but t/manifest.t still broken in 0.05 dan -- Daniel Macks dmacks@netspace.org
I presume that if you simply remove the BAIL_OUT statement that the rest works (before I go and embarrass myself again here)? Thanks,