~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to escript/test/escript_UnitTest.cpp

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
using namespace CppUnitTest;
37
37
 
38
38
extern "C"{
39
 
#include "paso/Paso_MPI.h"
 
39
#include "esysUtils/Esys_MPI.h"
40
40
}
41
41
 
42
42
int main(int argc, char* argv[])
43
43
{
44
 
#ifdef PASO_MPI
 
44
#ifdef ESYS_MPI
45
45
        int status = MPI_Init(&argc, &argv);
46
46
        if (status != MPI_SUCCESS) {
47
47
          std::cerr << argv[0] << ": MPI_Init failed, exiting." << std::endl;
73
73
        // actually run the unit tests.
74
74
        runner.run (argc, argv);
75
75
 
76
 
#ifdef PASO_MPI
 
76
#ifdef ESYS_MPI
77
77
        MPI_Finalize();
78
78
#endif
79
79