Skip to content

executing the test command dist/ExtUtils-CBuilder/t/03-cplusplusplus fails, #23355

Open
@lillianokok

Description

@lillianokok

perl@5.41.13 version, executing the test command dist/ExtUtils-CBuilder/t/03-cplusplusplus fails, error message:
dist/ExtUtils-CBuilder/t/03-cplusplus......................................# Failed test 'No search for C++ compiler in PATH when given absolute path to C compiler'
at t/03-cplusplus.t line 73.
get: '/home/spack/lib/spack/env/gcc/g++'
Expected: '/home/stage/root/spack-stage-perl-5.41.13-v424hwyrgfidyplaekvbekn7lv24toxm/spack-src/dist/ExtUtils-CBuilder/some/directory/what/doesnt/exist/cc'
It looks like you failed 1 out of 7 tests.
Failed at test 7
The expected result is to find a non-existent path, but the test case reports an error Failed. Does this test case need optimization?

Module:

Description

perl@5.41.13 version, executing the test command dist/ExtUtils-CBuilder/t/03-cplusplusplus fails, error message:
dist/ExtUtils-CBuilder/t/03-cplusplus......................................# Failed test 'No search for C++ compiler in PATH when given absolute path to C compiler'
at t/03-cplusplus.t line 73.
get: '/home/spack/lib/spack/env/gcc/g++'
Expected: '/home/stage/root/spack-stage-perl-5.41.13-v424hwyrgfidyplaekvbekn7lv24toxm/spack-src/dist/ExtUtils-CBuilder/some/directory/what/doesnt/exist/cc'
It looks like you failed 1 out of 7 tests.
Failed at test 7
The expected result is to find a non-existent path, but the test case reports an error Failed. Does this test case need optimization?
Steps to Reproduce

at t/03-cplusplus.t line 73.
Expected behavior

no errors
Perl configuration

# perl -V output goes here

5.41.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions