diff options
| author | Dave Goodell | 2012-05-17 18:05:49 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-07-02 08:42:56 -0800 |
| commit | 570abaac222a3798fa66230ca21b77155339fc81 (patch) | |
| tree | 7c158a5bc4558aa47ba187d1d113334ff4120d13 /Library/Formula | |
| parent | 7f13f84de71401d3d86a0e8254d8a39b4aefb86b (diff) | |
| download | homebrew-570abaac222a3798fa66230ca21b77155339fc81.tar.bz2 | |
mpich2: add a simple test method
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mpich2.rb | 5 |
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 |
