Skip to content

check() output overwritten by installcheck() #49200

@AlexanderRichert-NOAA

Description

@AlexanderRichert-NOAA

Steps to reproduce

$ spack install --test root netcdf-c~mpi build_system=autotools ^hdf5~mpi # ~mpi just to save time

With the head of develop, the resulting install-time-test-log.txt does not show, e.g., netcdf-c test output.

If I disable all of the installcheck() logic in the backend, install-time-test-log.txt contains check() output as expected.

Information on your system

  • Spack: 1.0.0.dev0 (3a219d1)
  • Python: 3.12.3
  • Platform: linux-linuxmint22-zen3

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThe issue needs to be prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions