diff options
-rw-r--r-- | lib/spack/spack/cmd/install.py | 2 | ||||
-rw-r--r-- | lib/spack/spack/paths.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py index 5b73c68de7..587f039656 100644 --- a/lib/spack/spack/cmd/install.py +++ b/lib/spack/spack/cmd/install.py @@ -190,7 +190,7 @@ def default_log_file(spec): """ fmt = 'test-{x.name}-{x.version}-{hash}.xml' basename = fmt.format(x=spec, hash=spec.dag_hash()) - dirname = fs.os.path.join(spack.paths.var_path, 'junit-report') + dirname = fs.os.path.join(spack.paths.reports_path, 'junit') fs.mkdirp(dirname) return fs.os.path.join(dirname, basename) diff --git a/lib/spack/spack/paths.py b/lib/spack/spack/paths.py index 7a1fee4294..b0ff031dd1 100644 --- a/lib/spack/spack/paths.py +++ b/lib/spack/spack/paths.py @@ -53,6 +53,8 @@ mock_packages_path = os.path.join(repos_path, "builtin.mock") user_config_path = os.path.expanduser('~/.spack') user_bootstrap_path = os.path.join(user_config_path, 'bootstrap') user_bootstrap_store = os.path.join(user_bootstrap_path, 'store') +reports_path = os.path.join(user_config_path, "reports") + opt_path = os.path.join(prefix, "opt") etc_path = os.path.join(prefix, "etc") |