summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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)