mpich2: add a simple test method
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>master
parent
02de6060f9
commit
fda61e62e0
|
@ -35,4 +35,9 @@ class Mpich2 < Formula
|
||||||
both packages install their own versions of mpicc/mpicxx and mpirun.
|
both packages install their own versions of mpicc/mpicxx and mpirun.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test
|
||||||
|
# a better test would be to build and run a small MPI program
|
||||||
|
system "#{bin}/mpicc", "-show"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue