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:
parent
62787a7a3b
commit
d9c5b7de10
@ -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):
|
|||||||
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user