omniorb: fix test

master
Jack Nagel 2013-03-25 13:35:20 -05:00
parent 92c3420072
commit 5c2c868887
1 changed files with 5 additions and 5 deletions

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