diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-10-22 12:37:00 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-11-17 10:04:13 -0800 |
commit | 346beedfd40fe97f302645377cf90dbd916b44fd (patch) | |
tree | 35c3f72c6ed203000b553fe6de59505d3819dfff | |
parent | 87c87ff767c49ff2c369f26bc91300ee4745a0ca (diff) | |
download | spack-346beedfd40fe97f302645377cf90dbd916b44fd.tar.gz spack-346beedfd40fe97f302645377cf90dbd916b44fd.tar.bz2 spack-346beedfd40fe97f302645377cf90dbd916b44fd.tar.xz spack-346beedfd40fe97f302645377cf90dbd916b44fd.zip |
Fix installer.py unit tests that check output
-rw-r--r-- | lib/spack/spack/solver/asp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py index 9e37ab5cf8..55e18e88e8 100644 --- a/lib/spack/spack/solver/asp.py +++ b/lib/spack/spack/solver/asp.py @@ -1667,7 +1667,8 @@ class SpecBuilder(object): # print out unknown actions so we can display them for debugging if not action: - print("%s(%s)" % (name, ", ".join(str(a) for a in args))) + msg = "%s(%s)" % (name, ", ".join(str(a) for a in args)) + tty.debug(msg) continue assert action and callable(action) |