package_hash: add test to ensure that every package in Spack can be unparsed

- [x] add option to canonical source to *not* filter multimethods
- [x] add test to unparse every package in builtin
This commit is contained in:
Todd Gamblin
2021-12-23 01:07:49 -08:00
committed by Greg Becker
parent b6dde510bd
commit ff5e73d6eb
3 changed files with 30 additions and 7 deletions

View File

@@ -39,7 +39,10 @@ def show_message_to_user(self):
print('include the following lines in your ~/.bash_profile :')
print('')
print('# Use bash-completion, if available')
print('[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \ ' % prefix) # NOQA: ignore=E501
print(
'[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \\'
% prefix
)
print(' . %s/share/bash-completion/bash_completion' % prefix)
print('')
print('=====================================================')