In perl.git, the branch smoke-me/runperl has been created

<http://perl5.git.perl.org/perl.git/commitdiff/7b2796fc4064d5a4210d5cc1dec9a2785c9d06f8?hp=0000000000000000000000000000000000000000>

        at  7b2796fc4064d5a4210d5cc1dec9a2785c9d06f8 (commit)

- Log -----------------------------------------------------------------
commit 7b2796fc4064d5a4210d5cc1dec9a2785c9d06f8
Author: Nicholas Clark <[email protected]>
Date:   Fri May 27 15:55:15 2011 +0100

    Convert B::Deparse's core.t to Test::More.
    
    Bring the joy of strict to it, remove the unused variable @bin, and convert 
a
    literal carriage return to a newline.

M       dist/B-Deparse/t/core.t

commit 019c1b48d0afe02f6980be8f95bef63565035ccc
Author: Nicholas Clark <[email protected]>
Date:   Tue Feb 8 11:50:31 2011 +0000

    Convert B::Lint's test to Test::PerlRun and Test::More from test.pl

M       dist/B-Lint/t/lint.t

commit 2be180df812eb531ae3e5b0db16885ebfd931194
Author: Nicholas Clark <[email protected]>
Date:   Tue Feb 8 11:24:59 2011 +0000

    Convert overload's tests to Test::PerlRun and Test::More, from test.pl

M       lib/overload.t

commit 12ea3512d33201793417dae4a8a7667d4ff6463f
Author: Nicholas Clark <[email protected]>
Date:   Tue Feb 8 11:23:54 2011 +0000

    Add the ability to run under -T to Test::PerlRun
    
    Implementation lifted pretty much wholesale from test.pl

M       MANIFEST
M       cpan/Test-PerlRun/lib/Test/PerlRun.pm
A       cpan/Test-PerlRun/t/taint.t

commit 76c5202bb513f2a7c53d63279cdf1eaa91a20c35
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 22:05:39 2011 +0000

    Convert utf8's tests to Test::PerlRun and Test::More, from test.pl

M       lib/utf8.t

commit db0f203355780b2677f31e75100d40dc60874345
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 21:44:43 2011 +0000

    Convert sigtrap's tests to Test::PerlRun and Test::More, from test.pl

M       lib/sigtrap.t

commit 450e3f8a37dcac7ca179f3bd5531ad6227c7a85a
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 21:34:37 2011 +0000

    Convert the debugger's tests to use Test::PerlRun and Test::More.

M       lib/perl5db.t

commit fe441490361d3107e88ce27c189931730ef536f0
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 20:16:55 2011 +0000

    Convert h2ph's tests to Test::PerlRun and Test::More, from test.pl

M       lib/h2ph.t

commit 7d0c9b40018a041d5e03f6b7715297ff9a3bca54
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 20:15:23 2011 +0000

    Add 'args' to pass values for @ARGV in the program spawned by Test::PerlRun

M       cpan/Test-PerlRun/lib/Test/PerlRun.pm
M       cpan/Test-PerlRun/t/PerlRun.t

commit fdb8aaa2cd2c5a9078bac60c54fd91aa4a30345d
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 19:35:35 2011 +0000

    Convert Config's tests to Test::PerlRun and Test::More, from test.pl

M       lib/Config.t

commit e947b334982d2a2529962d433d0c7a8dabeed18d
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 16:19:10 2011 +0000

    Convert Carp's tests to Test::PerlRun and Test::More from test.pl

M       lib/Carp.t

commit b25df4210c33b35b0fcbd2de6899b626f627e7e1
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 15:41:51 2011 +0000

    Convert bytes' tests to Test::PerlRun and Test::More from test.pl

M       lib/bytes.t

commit 69cfae182ee365404dfa6366d8aee1ac0b6fd88c
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 10:55:14 2011 +0000

    Convert XS::APItest's tests to Test::PerlRun and Test::More from test.pl

M       ext/XS-APItest/t/call.t
M       ext/XS-APItest/t/my_exit.t

commit 91aa388a7f8df2da8184709033117c0d4b69427c
Author: Nicholas Clark <[email protected]>
Date:   Mon Feb 7 10:35:38 2011 +0000

    Add the ability to pass data on STDIN to the perl run by Test::PerlRun
    
    When passing a scalar containing code (instead of a hash reference) change 
the
    implementation to pass the code as a program on STDIN, instead of using -e 
on
    the command line. This allows "complex" code to be easily passed, without
    needing to resort to temporary files in the caller. ("Complex" includes
    common constructions such as double quotes and newlines, hence why this is
    useful.)

M       cpan/Test-PerlRun/lib/Test/PerlRun.pm
M       cpan/Test-PerlRun/t/PerlRun.t

commit 5b88446f03e44653cdd90a6ccc50500024e597cb
Author: Nicholas Clark <[email protected]>
Date:   Sun Feb 6 11:18:57 2011 +0000

    Merge the test in fd.t into IPC-Open3.t, and delete fd.t
    
    Previously this one test was in its own file because it needed test.pl's
    runperl() and fresh_perl_is(). Now with Test::PerlRun, there's no need for 
it
    to stay separate.

M       MANIFEST
M       ext/IPC-Open3/t/IPC-Open3.t
D       ext/IPC-Open3/t/fd.t

commit 2ef05ff768b9ee5438e6386aa0904768ef88c0e7
Author: Nicholas Clark <[email protected]>
Date:   Sun Feb 6 10:58:04 2011 +0000

    Convert IPC::Open3's fd.t to Test::PerlRun.

M       ext/IPC-Open3/t/fd.t

commit 69f957005e0903f6baeadef9bf950e76ad403741
Author: Nicholas Clark <[email protected]>
Date:   Sat Feb 5 09:16:03 2011 +0000

    Convert re's tests to Test::PerlRun and Test::More, from test.pl

M       ext/re/t/lexical_debug.t
M       ext/re/t/regop.t

commit 47b66285d4139ee1d287903a936a2b278b076325
Author: Nicholas Clark <[email protected]>
Date:   Fri Feb 4 20:52:52 2011 +0000

    Convert B's tests to Test::PerlRun and Test::More, from test.pl
    
    Remove a couple of vestigial C<use Config;>s. As the prototype of
    Test::More's ok() differs from test.pl's ok(), change optree_constants.t to
    use \&printerr instead of \&ok.

M       ext/B/t/OptreeCheck.pm
M       ext/B/t/concise.t
M       ext/B/t/f_map.t
M       ext/B/t/f_sort.t
M       ext/B/t/o.t
M       ext/B/t/optree_check.t
M       ext/B/t/optree_concise.t
M       ext/B/t/optree_constants.t
M       ext/B/t/optree_misc.t
M       ext/B/t/optree_samples.t
M       ext/B/t/optree_sort.t
M       ext/B/t/optree_specials.t
M       ext/B/t/optree_varinit.t
M       ext/B/t/showlex.t

commit 21a2e72e163313873a12e0e2f1b55ac65c3930cb
Author: Nicholas Clark <[email protected]>
Date:   Fri Feb 4 11:05:00 2011 +0000

    Add the prototype version of Test::PerlRun
    
    This is Dave's original, but with _run() rewritten to use avoid IPC::Cmd 
'run',
    which can't capture output on Win32 with core-only modules. Instead, _run() 
now
    uses open on platforms that support '-|' (seemingly everything except 
Win32),
    falling back to ``, using a temporary file in all cases if STDERR needs
    capturing. This avoids complicated select code, and most of the quoting 
issues
    test.pl faces, due to test.pl using `` on VMS. However, we need to avoid
    newlines and double quotes in code passed via -e, as double-quoting is the
    mechanism for escaping for the Win32 shell.
    
    Additionally as we have direct access to $?, we can eliminate the hacky 
code to
    reprocess IPC::Cmd::run()'s munging of the exit status, and can correctly
    distinguish between a process which exited cleanly, and one which had a 
fatal
    signal, although, frustratingly, it seems that kill 'TERM', $$; doesn't, on
    Win32. POSIX it ain't.

M       MANIFEST
A       cpan/Test-PerlRun/lib/Test/PerlRun.pm
A       cpan/Test-PerlRun/t/PerlRun.t
A       cpan/Test-PerlRun/t/pod-coverage.t
A       cpan/Test-PerlRun/t/pod-spell.t
A       cpan/Test-PerlRun/t/pod.t
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to