diff --git a/var/spack/repos/builtin/packages/tasmanian/package.py b/var/spack/repos/builtin/packages/tasmanian/package.py index 1e57b3e70f0..45fa7dcb5d3 100644 --- a/var/spack/repos/builtin/packages/tasmanian/package.py +++ b/var/spack/repos/builtin/packages/tasmanian/package.py @@ -156,7 +156,7 @@ def cmake_args(self): def test(self): # using the tests installed in /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')