fixup unit-test from develop

This commit is contained in:
Gregory Becker
2020-03-18 18:09:16 -07:00
committed by Tamara Dahlgren
parent e5a9a376bf
commit 76ce5d90ec

View File

@@ -154,7 +154,7 @@ def unit_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')