Perl-Toolchain-Gang / ExtUtils-MakeMaker

Perl module to make Makefiles and build modules (what backs Makefile.PL)
https://metacpan.org/release/ExtUtils-MakeMaker
64 stars 76 forks source link

BFD setup logic is not thread/parallel safe. #425

Closed demerphq closed 1 year ago

demerphq commented 1 year ago

In core we want to run the test suite faster and in parallel, but EUMM tests are not parallel safe as they each set up the same path for BFD. See recent discussion on the list about test fails from MakeMaker due to changes in the parallel test scheduler.

In https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/424 I have pushed a patch to use a poor mans temp dir for the tests. I did not use File::Temp because in some cases when BFD is set up it is loaded after XS code blocks are in place.