pygtkglext: use test DSL

This commit is contained in:
Jack Nagel 2013-02-01 23:12:49 -06:00
parent aeb5588f04
commit fe41590f9d

View file

@ -17,15 +17,7 @@ class Pygtkglext < Formula
system "make install" system "make install"
end end
def test test do
# Test importing the modules system "python", "-c", "import pygtk", "pygtk.require('2.0')", "import gtk.gtkgl"
mktemp do
(Pathname.pwd+'test.py').write <<-EOS.undent
import pygtk
pygtk.require('2.0')
import gtk.gtkgl
EOS
system "python test.py"
end
end end
end end