diff options
| author | Samuel John | 2013-06-12 18:23:04 +0200 |
|---|---|---|
| committer | Samuel John | 2013-06-12 18:23:04 +0200 |
| commit | c2462e6e9f4f37b8f959fed6656cd215f76bbdf9 (patch) | |
| tree | d0e55059a62ba71288aa7ea2178dee241013232d /Library/Formula | |
| parent | 35cea0ba4241f92630fc979462b03a2361bb488f (diff) | |
| download | homebrew-c2462e6e9f4f37b8f959fed6656cd215f76bbdf9.tar.bz2 | |
libvirt: Adding a test
Diffstat (limited to 'Library/Formula')
| -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 |
