Module: ExtUtils-CBuilder
Description
I tried to build Perl based on blead for Fedora and got following error:
#   Failed test 'did not search PATH for C++ compiler when given absolute path to C compiler'
#   at t/03-cplusplus.t line 73.
#          got: 'g++'
#     expected: '/builddir/build/BUILD/perl-5.41.12-build/perl-5.41.12/dist/ExtUtils-CBuilder/some/directory/what/doesnt/exist/cc'
# Looks like you failed 1 test of 7.
../dist/ExtUtils-CBuilder/t/03-cplusplus.t ........................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests 
 
The failure is caused by the $ENV{CXX} variable being defined.
Using local $ENV{CXX}; in the test fixes the failure.
Complete log is on
https://jplesnik.fedorapeople.org/5.42/build.log
Steps to Reproduce
Set CXX
CXX=g++; export CXX
and run the test
Expected behavior
Test should pass.
Perl configuration
Used perl blead