Replace comm_free with comm_disconnect.

The original comm_free was incorrect as the parent process was
disconnecting the connection to the child, but the child was not
disconnecting it's end.

Thanks to Charles Archer @ Intel for reporting the error and providing
the patch.

Signed-off-by: Pavan Balaji <balaji@mcs.anl.gov>
Add datatype test support from MPICH1

This adds the routines originally defined in the MPICH test suite that
created a range of datatype tests, including the input and output data.
This commit moves them to the new MPICH and puts them into the MTest
framework, as an optional file.

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Add dataalign test from MPICH1

This commit add the dataalign test from MPICH1.  It has been updated to
use the MTest framework.  This tests a specific struct datatype, and is
a test that caused one recent dataloop optimization to fail.

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Add sendrecv2 and sendrecv4 test from MPICH-1

This test moves the sendrecv2 and sendrecv4 test from MPICH-1 to the new
MPICH tests.  It has been updated to use the MTest framework.  This test
uses the datatypes created by the dtypes.c file (also moved from
MPICH-1).

These tests involve creating a structure type with an explicit offset of
a variety of types, and then communicated with MPI_BOTTOM as the buffer
location.  Several of these tests failed in a recent update to the Dataloop
code for optimization of performance.

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Add some MPICH-1 tests to MPICH datatype tests

This adds dataalign, sendrecvt2, and sendrecvt4 to the tests of MPI
datatypes in the MPICH test suite.

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Fix bug in marking unbuilt tests as failed

The xfail additions to the runtests code had an incorrect test on xfail
that caused runtests to stop recording a test that could not be built
as failed - thus, the test script would report success for all tests when
some tests were not run.

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Fix typo in comment in dataalign.c

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
corrects old text in the introductory comments.

These tests were adapted from the mpich-1 test suite but they are their
own creatures now.

Original-author: William Gropp <wgropp@illinois.edu>
Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Merge branch 'master' into petsc-silent-abort