/[escript]/branches/clazy/finley/test/finley_UnitTests.cpp
ViewVC logotype

Diff of /branches/clazy/finley/test/finley_UnitTests.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 19  Line 19 
19  using namespace CppUnitTest;  using namespace CppUnitTest;
20    
21  extern "C"{  extern "C"{
22  #include "paso/Paso_MPI.h"  #include "esysUtils/Esys_MPI.h"
23  }  }
24    
25  int main(int argc, char* argv[])  int main(int argc, char* argv[])
26  {  {
27    
28  #ifdef PASO_MPI  #ifdef ESYS_MPI
29          int status = MPI_Init(&argc, &argv);          int status = MPI_Init(&argc, &argv);
30          if (status != MPI_SUCCESS) {          if (status != MPI_SUCCESS) {
31            std::cerr << argv[0] << ": MPI_Init failed, exiting." << std::endl;            std::cerr << argv[0] << ": MPI_Init failed, exiting." << std::endl;
# Line 43  int main(int argc, char* argv[]) Line 43  int main(int argc, char* argv[])
43          // actually run the unit tests.          // actually run the unit tests.
44          runner.run (argc, argv);          runner.run (argc, argv);
45    
46  #ifdef PASO_MPI  #ifdef ESYS_MPI
47          MPI_Finalize();          MPI_Finalize();
48  #endif  #endif
49    

Legend:
Removed from v.2881  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26