summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2015-10-15 19:59:57 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2015-10-15 19:59:57 -0700
commit49b91235bb8522a79d5a0b213718af2a6f81f501 (patch)
treec062ab595f98a41231d3e80a32360304b5a157ee /lib
parent82ed1bc34397542394ea7fc4a23f3b827546809a (diff)
downloadspack-49b91235bb8522a79d5a0b213718af2a6f81f501.tar.gz
spack-49b91235bb8522a79d5a0b213718af2a6f81f501.tar.bz2
spack-49b91235bb8522a79d5a0b213718af2a6f81f501.tar.xz
spack-49b91235bb8522a79d5a0b213718af2a6f81f501.zip
Minor edit for clarity (generate output for single top level spec vs. iterating
through collection of size 1)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/test-install.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/test-install.py b/lib/spack/spack/cmd/test-install.py
index 962af939f2..ee9580c128 100644
--- a/lib/spack/spack/cmd/test-install.py
+++ b/lib/spack/spack/cmd/test-install.py
@@ -152,8 +152,7 @@ def test_install(parser, args):
finally:
jrf = JunitResultFormat()
handled = {}
- for spec in specs:
- create_test_output(spec, newInstalls, jrf)
+ create_test_output(topSpec, newInstalls, jrf)
with open(outputFpath, 'wb') as F:
jrf.write_to(F)