summaryrefslogtreecommitdiff
path: root/lib/spack/spack/cmd/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/cmd/test.py')
-rw-r--r--lib/spack/spack/cmd/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/test.py b/lib/spack/spack/cmd/test.py
index f2ca8fc93b..8cbc0fbccf 100644
--- a/lib/spack/spack/cmd/test.py
+++ b/lib/spack/spack/cmd/test.py
@@ -154,7 +154,7 @@ def test(parser, args, unknown_args):
# The default is to test the core of Spack. If the option `--extension`
# has been used, then test that extension.
- pytest_root = spack.paths.test_path
+ pytest_root = spack.paths.spack_root
if args.extension:
target = args.extension
extensions = spack.config.get('config:extensions')