aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-03-29 10:26:46 +1100
committerMike McQuaid2012-03-29 17:31:07 +1100
commit306df53b9abee7689923eb48a813c78a43718d31 (patch)
tree02accfe1c5c99fc23099492964e52b92ea3d4260 /Library/Formula
parent7c4f06669cae5e342ea40086b133c4bbd553354f (diff)
downloadhomebrew-306df53b9abee7689923eb48a813c78a43718d31.tar.bz2
Add test to Qt.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 76d10d382..7bc9afa80 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -115,6 +115,10 @@ class Qt < Formula
end
end
+ def test
+ "#{bin}/qmake --version"
+ end
+
def caveats; <<-EOS.undent
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.