omniorb: fix test

This commit is contained in:
Jack Nagel 2013-03-25 13:35:20 -05:00
parent 92c3420072
commit 5c2c868887

View file

@ -49,12 +49,12 @@ class Omniorb < Formula
"python" + `python -c 'import sys;print(sys.version[:3])'`.strip
end
def test
system "omniidl", "-h"
test do
system "#{bin}/omniidl", "-h"
if build.include? 'python'
system "python", "-c", %(import omniORB; print 'omniORBpy', omniORB.__version__)
end
if build.include? 'python'
system "python", "-c", %(import omniORB; print 'omniORBpy', omniORB.__version__)
end
end
end