summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')