Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoke testing of xSDK packages with Spack #24

Open
shuds13 opened this issue Sep 23, 2020 · 0 comments
Open

Smoke testing of xSDK packages with Spack #24

shuds13 opened this issue Sep 23, 2020 · 0 comments
Assignees

Comments

@shuds13
Copy link
Member

shuds13 commented Sep 23, 2020

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.

@shuds13 shuds13 self-assigned this Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant