summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Stoyanov <30537612+mkstoyanov@users.noreply.github.com>2021-10-26 16:07:04 -0400
committerGitHub <noreply@github.com>2021-10-26 13:07:04 -0700
commitad039814687ef9f774d514de3592ee53dbfa996f (patch)
tree55f34fb3328acfc5bf60d14ed77ecceebafa16af
parent5ee2ab314c2b8ffeed535fe482bdf480887c73f4 (diff)
downloadspack-ad039814687ef9f774d514de3592ee53dbfa996f.tar.gz
spack-ad039814687ef9f774d514de3592ee53dbfa996f.tar.bz2
spack-ad039814687ef9f774d514de3592ee53dbfa996f.tar.xz
spack-ad039814687ef9f774d514de3592ee53dbfa996f.zip
fix the spack test dir (#26816)
-rw-r--r--var/spack/repos/builtin/packages/tasmanian/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tasmanian/package.py b/var/spack/repos/builtin/packages/tasmanian/package.py
index 1e57b3e70f..45fa7dcb5d 100644
--- a/var/spack/repos/builtin/packages/tasmanian/package.py
+++ b/var/spack/repos/builtin/packages/tasmanian/package.py
@@ -156,7 +156,7 @@ class Tasmanian(CMakePackage, CudaPackage, ROCmPackage):
def test(self):
# using the tests installed in <prefix>/share/Tasmanian/testing
cmake_dir = join_path(self.prefix, 'share', 'Tasmanian', 'testing')
- with working_dir(self.install_test_root, create=True):
+ with working_dir(self.test_suite.current_test_cache_dir, create=True):
cmake(cmake_dir)
make()
make('test')