summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorketsubouchi <kenta.tsubouchi@allin-one.jp>2021-02-17 07:54:20 +0900
committerGitHub <noreply@github.com>2021-02-16 22:54:20 +0000
commit1fe51ffe18f6207c2565db3a921d797d18e17bfd (patch)
tree10e3627925a795197d9acfd368995c8f54001aa5
parentaed52d7e7961a7d9a8a9650b882601d067691308 (diff)
downloadspack-1fe51ffe18f6207c2565db3a921d797d18e17bfd.tar.gz
spack-1fe51ffe18f6207c2565db3a921d797d18e17bfd.tar.bz2
spack-1fe51ffe18f6207c2565db3a921d797d18e17bfd.tar.xz
spack-1fe51ffe18f6207c2565db3a921d797d18e17bfd.zip
povray: add smoke test (#21667)
-rw-r--r--var/spack/repos/builtin/packages/povray/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/povray/package.py b/var/spack/repos/builtin/packages/povray/package.py
index 6127a40735..4c622475af 100644
--- a/var/spack/repos/builtin/packages/povray/package.py
+++ b/var/spack/repos/builtin/packages/povray/package.py
@@ -147,3 +147,11 @@ class Povray(AutotoolsPackage):
extra_args.append('--without-x')
return extra_args
+
+ def test(self):
+ povs = find(self.prefix.share, 'biscuit.pov')[0]
+ copy(povs, '.')
+ self.run_test('povray', options=['biscuit.pov'],
+ purpose="test: render sample file",
+ expected=['POV-Ray finished']
+ )