diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libvirt.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb index 644946f2a..1008bcfe8 100644 --- a/Library/Formula/libvirt.rb +++ b/Library/Formula/libvirt.rb @@ -61,4 +61,12 @@ class Libvirt < Formula end end end + + test do + if build.with? 'python' + # Testing to import the mod because that is a .so file where linking + # can break. + system python, '-c', "import libvirtmod" + end + end end |
