AMPI mpich-test: add missing headers from upstream tarball
authorPhil Miller <mille121@illinois.edu>
Fri, 29 Jan 2010 00:26:19 +0000 (18:26 -0600)
committerPhil Miller <mille121@illinois.edu>
Fri, 29 Jan 2010 00:26:19 +0000 (18:26 -0600)
tests/ampi/mpich-test/pt2pt/dtypes.h [new file with mode: 0644]
tests/ampi/mpich-test/pt2pt/gcomm.h [new file with mode: 0644]
tests/ampi/mpich-test/pt2pt/test.h [new file with mode: 0644]

diff --git a/tests/ampi/mpich-test/pt2pt/dtypes.h b/tests/ampi/mpich-test/pt2pt/dtypes.h
new file mode 100644 (file)
index 0000000..7aabe29
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef MPITEST_DTYPES
+#define MPITEST_DTYPES
+
+void GenerateData ( MPI_Datatype *, void **, void **, int *, int *,
+                             char **, int * );
+void AllocateForData ( MPI_Datatype **, void ***, void ***, 
+                                int **, int **, char ***, int * );
+int CheckData ( void *, void *, int );
+int CheckDataAndPrint ( void *, void *, int, char *, int );
+void FreeDatatypes ( MPI_Datatype *, void **, void **, 
+                              int *, int *, char **, int );
+void BasicDatatypesOnly( void );
+#endif
diff --git a/tests/ampi/mpich-test/pt2pt/gcomm.h b/tests/ampi/mpich-test/pt2pt/gcomm.h
new file mode 100644 (file)
index 0000000..9eee1df
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef MPITEST_GCOMMS
+#define MPITEST_GCOMMS
+
+void MakeComms ( MPI_Comm *, int, int *, int );
+void FreeComms ( MPI_Comm *, int );
+#endif
diff --git a/tests/ampi/mpich-test/pt2pt/test.h b/tests/ampi/mpich-test/pt2pt/test.h
new file mode 100644 (file)
index 0000000..3e64d81
--- /dev/null
@@ -0,0 +1,29 @@
+/* Header for testing procedures */
+
+#ifndef _INCLUDED_TEST_H_
+#define _INCLUDED_TEST_H_
+
+#include "mpi.h"
+
+#if defined(NEEDS_STDLIB_PROTOTYPES)
+#include "protofix.h"
+#endif
+
+void Test_Init (char *, int);
+#ifdef USE_STDARG
+void Test_Printf (char *, ...);
+void Test_Errors_warn ( MPI_Comm *, int *, ... );
+#else
+/* No prototype */
+void Test_Printf();
+void Test_Errors_warn();
+#endif
+void Test_Message (char *);
+void Test_Failed (char *);
+void Test_Passed (char *);
+int Summarize_Test_Results (void);
+void Test_Finalize (void);
+void Test_Waitforall (void);
+
+extern MPI_Errhandler TEST_ERRORS_WARN;
+#endif