Skip to content

add test to ensure that all packages can be pickled#19890

Merged
scheibelp merged 2 commits intospack:developfrom
scheibelp:features/test-pkg-pickleability
Nov 12, 2020
Merged

add test to ensure that all packages can be pickled#19890
scheibelp merged 2 commits intospack:developfrom
scheibelp:features/test-pkg-pickleability

Conversation

@scheibelp
Copy link
Copy Markdown
Member

As of #18205 (merged today November 12), all packages must be pickle-able to be installed by Spack.

This adds a test to check that each package can be pickled. If any package fails to pickle, the test keeps going and collects the names of all failed packages; it then takes the first one that failed and attempts to re-pickle it, generating the full stacktrace for the failed pickle attempt.

… test keeps going and collects the names of all failed packages. It then takes the first one and attempts to re-pickle it, generating the full stacktrace from the failed pickle attempt
@adamjstewart adamjstewart added the tests General test capability(ies) label Nov 12, 2020
@scheibelp scheibelp merged commit 32bfe0a into spack:develop Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants