Skip to content

Smoke testing of xSDK packages with Spack #24

@shuds13

Description

@shuds13

Discuss whether packages should be required to invoke smoke testing via Spack.

Reference: The previous installation policy 12 stated:

  1. After packages are configured, they can be compiled, installed and "smoke" tested with the following commands: `make ;

[sudo] make install ; make test_install`.

There is a run_tests option in Spack which can be invoked:

spack install --run-tests

The package support for this option is described in the Spack docs

As stated in the docs, a test function should be created with the special decorators. Some packages implement this, with different function names, some using the decorators and some just accessing self.run_tests such as hypre and petsc.

For packages that use the decorators, some use @run_after('build') as in the docs, some using @run_after('install') such as hdf5.

We should also discuss how this would work with the metapackage.

Metadata

Metadata

Assignees

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