diff options
author | Todd Gamblin <gamblin2@llnl.gov> | 2021-03-07 11:44:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 11:44:17 -0800 |
commit | 7aa5cc241d403414e76a07c8f9c77323d2c12e66 (patch) | |
tree | 2aa5745b32b275c88faa9b6f310bc4525169c14b /share | |
parent | e9c399110e7fdc45ed02873adc759cf64bec2513 (diff) | |
download | spack-7aa5cc241d403414e76a07c8f9c77323d2c12e66.tar.gz spack-7aa5cc241d403414e76a07c8f9c77323d2c12e66.tar.bz2 spack-7aa5cc241d403414e76a07c8f9c77323d2c12e66.tar.xz spack-7aa5cc241d403414e76a07c8f9c77323d2c12e66.zip |
add `spack test list --all` (#22032)
`spack test list` will show you which *installed* packages can be tested
but it won't show you which packages have tests.
- [x] add `spack test list --all` to show which packages have test methods
- [x] update `has_test_method()` to handle package instances *and*
package classes.
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 9083e9969a..4653a753b7 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1548,7 +1548,7 @@ _spack_test_run() { } _spack_test_list() { - SPACK_COMPREPLY="-h --help" + SPACK_COMPREPLY="-h --help -a --all" } _spack_test_find() { |