Skip to content

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

Closed
@lillianokok

Description

@lillianokok
[email protected] 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

[email protected] 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**
<!-- A one-liner or script to reproduce the issue. -->
 at t/03-cplusplus.t line 73.
**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->
no errors
**Perl configuration**
<!-- Please paste `perl -V` output just below. -->

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