fix the spack test dir (#26816)

This commit is contained in:
Miroslav Stoyanov
2021-10-26 16:07:04 -04:00
committed by GitHub
parent 5ee2ab314c
commit ad03981468

View File

@@ -156,7 +156,7 @@ def cmake_args(self):
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')