From aa6e725633ea7cb74fad9710ee4ca8e0a3f01593 Mon Sep 17 00:00:00 2001 From: G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> Date: Mon, 14 Feb 2022 05:19:45 -0500 Subject: magma: move the execution of stand-alone tests to preferred directory (#28895) --- var/spack/repos/builtin/packages/magma/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py index fb9d1b4aa3..3c006e5a27 100644 --- a/var/spack/repos/builtin/packages/magma/package.py +++ b/var/spack/repos/builtin/packages/magma/package.py @@ -164,7 +164,7 @@ class Magma(CMakePackage, CudaPackage, ROCmPackage): self.cache_extra_test_sources([self.test_src_dir]) def test(self): - test_dir = join_path(self.install_test_root, self.test_src_dir) + test_dir = join_path(self.test_suite.current_test_cache_dir, self.test_src_dir) with working_dir(test_dir, create=False): pkg_config_path = '{0}/lib/pkgconfig'.format(self.prefix) with spack.util.environment.set_env(PKG_CONFIG_PATH=pkg_config_path): -- cgit v1.2.3-70-g09d2