Branch: refs/heads/yves/more_testlist_testing
  Home:   https://github.com/Perl/perl5
  Commit: e484788db2c3ed6443c74448d6e80323e8258c8f
      
https://github.com/Perl/perl5/commit/e484788db2c3ed6443c74448d6e80323e8258c8f
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M t/TEST

  Log Message:
  -----------
  t/TEST - glob @ARGV after we setup @INC properly (win32 only)

On win32 we glob the arguments passed into @ARGV. *However*, this was
done in an unsafe way that could result in @ARGV being empty if 'lib'
was not in @INC prior to execution. Also it was being done in an eval
STRING to avoid loading File::Glob unnecessarily, but with no error
checking of the eval.

In fact this logic was firing much too early, before option parsing, and
before @INC was set up properly.

This patch moves this logic to much later, after any options are parsed
out and after @INC is set up, which should reduce or eliminate the
chance it dies. It also reworks the logic so that if the eval does die
that the entire script dies as well.


  Commit: 986cb142e9a2beb3f927109c4754aa11b4f4adc9
      
https://github.com/Perl/perl5/commit/986cb142e9a2beb3f927109c4754aa11b4f4adc9
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M t/TEST

  Log Message:
  -----------
  t/TEST - rework poor mans getopt

Less cryptic and repetitive code.


  Commit: 3c9de11655b794c5c6755efe0008ecc90e117ef5
      
https://github.com/Perl/perl5/commit/3c9de11655b794c5c6755efe0008ecc90e117ef5
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M MANIFEST
    M t/TEST
    M t/harness
    A t/porting/test_testlist.t

  Log Message:
  -----------
  t/porting/test_testlist.t - test that we test the same thing with t/harness 
and t/TEST

Also that we test everything expected in MANIFEST.

Also includes some fixups to t/TEST to deal with the fact
that List/Util is not anymore the name of a distribution
even though it is the name of an extension. Same for Cwd.


Compare: https://github.com/Perl/perl5/compare/6504f17d25d4...3c9de11655b7

Reply via email to