bugfix: spack test should not output [+] for mock installs (#15609)

`spack test` has a spurious '[+] ' in the output:

```
lib/spack/spack/test/install.py .........[+] ......
```

Output is properly suppressed:

```
lib/spack/spack/test/install.py ...............
```
This commit is contained in:
Todd Gamblin 2020-03-22 15:46:54 -07:00
parent 430ca7c7cf
commit 740f8fe1a9

View File

@ -48,7 +48,7 @@
import spack.repo
import spack.store
from llnl.util.tty.color import colorize, cwrite
from llnl.util.tty.color import colorize
from llnl.util.tty.log import log_output
from spack.util.environment import dump_environment
from spack.util.executable import which
@ -253,8 +253,7 @@ def _print_installed_pkg(message):
Args:
message (str): message to be output
"""
cwrite('@*g{[+]} ')
print(message)
print(colorize('@*g{[+]} ') + message)
def _process_external_package(pkg, explicit):