From 7aa5cc241d403414e76a07c8f9c77323d2c12e66 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 7 Mar 2021 11:44:17 -0800 Subject: 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. --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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() { -- cgit v1.2.3-70-g09d2