Skip to content
Snippets Groups Projects
Commit 740f8fe1 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

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 ...............
```
parent 430ca7c7
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
import spack.repo import spack.repo
import spack.store 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 llnl.util.tty.log import log_output
from spack.util.environment import dump_environment from spack.util.environment import dump_environment
from spack.util.executable import which from spack.util.executable import which
...@@ -253,8 +253,7 @@ def _print_installed_pkg(message): ...@@ -253,8 +253,7 @@ def _print_installed_pkg(message):
Args: Args:
message (str): message to be output message (str): message to be output
""" """
cwrite('@*g{[+]} ') print(colorize('@*g{[+]} ') + message)
print(message)
def _process_external_package(pkg, explicit): def _process_external_package(pkg, explicit):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment