aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpich2.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb
index 0bb6b69a9..fdbb79348 100644
--- a/Library/Formula/mpich2.rb
+++ b/Library/Formula/mpich2.rb
@@ -35,4 +35,9 @@ class Mpich2 < Formula
both packages install their own versions of mpicc/mpicxx and mpirun.
EOS
end
+
+ def test
+ # a better test would be to build and run a small MPI program
+ system "#{bin}/mpicc", "-show"
+ end
end