The test suite has not kept pace with development, which is my bad. The demo
should ultimately be integrated into the PDL demo method ("demo gnuplot" in
perldl). more later.
(mobile)
On Dec 3, 2011, at 9:15 AM, chm <[email protected]> wrote:
> I decided to install the module but when I
> did 'make test' I got the following:
>
>> $ make test
>> PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e"
>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>> t/manifest.t .. skipped: Author tests not required for installation
>> t/plot.t ...... 1/5 testfile: pdl_graphics_gnuplot_test_G9QubPN
>>
>> # Failed test 'basic plotting succeeded without error'
>> # at t/plot.t line 36.
>>
>> # Failed test 'basic plotting created a reasonably-sized file'
>> # at t/plot.t line 41.
>> # Testing PDL::Graphics::Gnuplot 0.10ced, Perl 5.010001, /usr/bin/perl
>> # Looks like you failed 2 tests of 5.
>> t/plot.t ...... Dubious, test returned 2 (wstat 512, 0x200)
>> Failed 2/5 subtests
>>
>> Test Summary Report
>> -------------------
>> t/plot.t (Wstat: 512 Tests: 5 Failed: 2)
>> Failed tests: 2, 4
>> Non-zero exit status: 2
>> Files=2, Tests=5, 2 wallclock secs ( 0.06 usr 0.06 sys + 0.88 cusr 0.82
>> csys = 1.83 CPU)
>> Result: FAIL
>> Failed 1/2 test programs. 2/5 subtests failed.
>> make: *** [test_dynamic] Error 2
>
> Are these known problems? I tried running the tests
> by hand with these results:
>
>> $ perl -Mblib t/manifest.t
>> "-T" is on the #! line, it must also be used on the command line at
>> t/manifest.t line 1.
>>
>> chm@tesseract-3 ~/pdl/try/PDL-Graphics-Gnuplot-0.10ced
>> $ perl -T -Mblib t/manifest.t
>> Insecure dependency in require while running with -T switch at t/manifest.t
>> line 5.
>> BEGIN failed--compilation aborted at t/manifest.t line 5.
>>
>> chm@tesseract-3 ~/pdl/try/PDL-Graphics-Gnuplot-0.10ced
>> $ less t/manifest.t
>> #!perl -T
>>
>> use strict;
>> use warnings;
>> use Test::More;
>>
>> unless ( $ENV{RELEASE_TESTING} ) {
>> plan( skip_all => "Author tests not required for installation" );
>> }
>>
>> eval "use Test::CheckManifest 0.9";
>> plan skip_all => "Test::CheckManifest 0.9 required" if $@;
>> ok_manifest();
>
> and
>
>> chm@tesseract-3 ~/pdl/try/PDL-Graphics-Gnuplot-0.10ced
>> $ perl -Mblib t/plot.t
>> 1..5
>> ok 1 - use PDL::Graphics::Gnuplot;
>> testfile: pdl_graphics_gnuplot_test_AJ_KPHx
>> not ok 2 - basic plotting succeeded without error
>> # Failed test 'basic plotting succeeded without error'
>> # at t/plot.t line 36.
>> ok 3 - basic plotting created an output file
>> not ok 4 - basic plotting created a reasonably-sized file
>> # Failed test 'basic plotting created a reasonably-sized file'
>> # at t/plot.t line 41.
>> ok 5 - error detection works
>> # Testing PDL::Graphics::Gnuplot 0.10ced, Perl 5.010001, /usr/bin/perl
>> # Looks like you failed 2 tests of 5.
>>
>
> Still looks promising but I'll wait a bit more
> before installing for good. Also, I note that the
> command suggested to try the module out won't
> work for machines without the same shell. There
> is probably an ExtUtils::*** something command
> that could be used more generally.
>
> Cheers,
> Chris
>
>
> On 12/3/2011 10:29 AM, chm wrote:
>> Sweet!
>>
>> The module appears to have a dependency on IPC::Run
>> which built and installed ok on cygwin perl 5.10.1
>> and on SPP 5.12.3.0. Since it looks to be pure
>> perl, I'm hoping it builds on all PDL platforms.
>>
>> To run the demo I had to 'use PDL::ImageND' as well.
>> Maybe that could go in Gnuplot_demo.pm. Otherwise
>> it looks very nice.
>>
>> If multiple windows are supported, I suggest adding
>> a simple example of that to the demos.
>>
>> Cheers,
>> Chris
>>
>> On 12/2/2011 6:10 PM, Craig DeForest wrote:
>>> Never fails. I zip up a dist and forget to include the latest
>>> commit. So, er, here's PDL::Graphics::Gnuplot version 0.10ced -- now
>>> with better documentation.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Dec 2, 2011, at 4:01 PM, Craig DeForest wrote:
>>>
>>>> Hey, Chris,
>>>>
>>>> Funny you should mention the Gnuplot module. Dima has been working
>>>> on getting my minor tweaks incorporated into his codebase, but I
>>>> think we're getting close to a 2.4.10-ready version. I expect
>>>> that Dima will be ready to merge the PDL::Graphics::Gnuplot module
>>>> tree with the PDL tree sometime over the weekend or early next
>>>> week.
>>>>
>>>> Here (attached) is a copy of the current codebase, version
>>>> "0.09ced", as a dist file for people to try out. Gnuplot is pretty
>>>> awesome, though it took a little getting used to compared to the
>>>> more familiar PGPLOT stuff. The pod documentation is still in
>>>> progress but covers most simple plotting applications.
>>>>
>>>> To run the demo (assuming you've got a working PDL):
>>>>
>>>> (1) make sure you have gnuplot installed on your system (this
>>>> module has been tested mainly with Gnuplot 4.4) (2) unpack the
>>>> module and cd into it (3) perl Makefile.PL; make (4) perl -Mblib
>>>> `which perldl`; (5) use PDL::Demos::Screen; do "Gnuplot_demo.pm";
>>>> PDL::Demos::Gnuplot_demo::run(); (6) decide it's awesome, get out
>>>> of PDL, and sudo make install
>>>>
>>>> Cheers, Craig
>>>>
>>>> <PDL-Graphics-Gnuplot-0.09ced.tar.gz> On Dec 2, 2011, at 11:53 AM,
>>>> Chris Marshall wrote:
>>>>
>>>>> PDL Developers, Testers, and Contributors-
>>>>>
>>>>> A brief status update regarding the planned PDL-2.4.10 release in
>>>>> the New Year (I'm aiming for New Year's day but that will depend
>>>>> on the final testing and documentation).
>>>>>
>>>>> Now that December is here, I expect there will be more frequent
>>>>> developers release for testing and feedback on final changes.
>>>>> You are encouraged to download and test/evaluate these releases
>>>>> as they come out.
>>>>>
>>>>> If you are contributing to the planned on-line PDL Book to be
>>>>> released accompanying the PDL-2.4.10 one, please plan your
>>>>> writing and other contributions with an eye for a January 1
>>>>> target publication date.
>>>>>
>>>>> @Matt, it might be useful if you could keep the list and
>>>>> contributors informed on status and other details so we know
>>>>> where things stand. Maybe something like a list of
>>>>> chapters/sections on the PDL wiki that authors and/or you could
>>>>> update with % completed or other status.
>>>>>
>>>>> If you have major code modifications or additions to PDL
>>>>> (PDL::Graphics::Gnuplot is the main one that comes to mind),
>>>>> please schedule the development so that there is time for
>>>>> pre-release testing. At the least, I think a cutoff date for new
>>>>> stuff of 16-Dec-2011 seems reasonable and would allow some weeks
>>>>> for testing and final tweaks before release.
>>>>>
>>>>> @Craig/Dima, please let us know if the planned migration to the
>>>>> PDL core distribution is going to happen for this release. It
>>>>> would be very nice to have it in but since we are planning to
>>>>> announce any external PDL modules information along with our
>>>>> PDL-2.4.10 release, I don't see any problem folding things in for
>>>>> a follow-on PDL release.
>>>>>
>>>>> The PDL-2.4.9_xxx developer release sequence continues to test at
>>>>> the highest rate ever for PDL. The current _010 release is a bit
>>>>> off because a few of the CPAN Testers forced 'use strict' in the
>>>>> tests which broke for a couple of our tests. That has been fixed
>>>>> in git and will be available for the CPAN developers release this
>>>>> weekend.
>>>>>
>>>>> Cheers, Chris
>>>>>
>>>>
>>>
>>>
>>>
>>> ----- No virus found in this message. Checked by AVG - www.avg.com
>>> Version: 10.0.1411 / Virus Database: 2102/4052 - Release Date:
>>> 12/02/11
>>
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 10.0.1411 / Virus Database: 2102/4054 - Release Date: 12/03/11
>>
>>
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl