summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcojean <terry.cojean@kit.edu>2020-11-12 21:42:34 +0100
committerGitHub <noreply@github.com>2020-11-12 14:42:34 -0600
commit978e85d66993fa350f7dc8560f4ebc308c2f14d0 (patch)
treebb5616a5c69322f2e6b1f76eaaf351a7d674c5c1
parentbb42470211a82fc333d48ba56c0d0990cd1faec5 (diff)
downloadspack-978e85d66993fa350f7dc8560f4ebc308c2f14d0.tar.gz
spack-978e85d66993fa350f7dc8560f4ebc308c2f14d0.tar.bz2
spack-978e85d66993fa350f7dc8560f4ebc308c2f14d0.tar.xz
spack-978e85d66993fa350f7dc8560f4ebc308c2f14d0.zip
Add smoke tests to Ginkgo. (#19888)
-rw-r--r--var/spack/repos/builtin/packages/ginkgo/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ginkgo/package.py b/var/spack/repos/builtin/packages/ginkgo/package.py
index f72fed7319..0e48e555fe 100644
--- a/var/spack/repos/builtin/packages/ginkgo/package.py
+++ b/var/spack/repos/builtin/packages/ginkgo/package.py
@@ -93,3 +93,10 @@ class Ginkgo(CMakePackage, CudaPackage):
args.append('-DHIPBLAS_PATH={0}'.
format(spec['hipblas'].prefix))
return args
+
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
+ def test_install(self):
+ """Perform smoke tests on the installed package."""
+ with working_dir(self.build_directory):
+ make("test_install")