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 @@ def configure_args(self): 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'] + )