mpich2: add a simple test method

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
master
Dave Goodell 2012-05-17 18:05:49 -05:00 committed by Charlie Sharpsteen
parent 02de6060f9
commit fda61e62e0
1 changed files with 5 additions and 0 deletions

View File

@ -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