/[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

trunk/finley/test/finley_UnitTests.cpp revision 5593 by jfenwick, Fri Apr 24 01:36:26 2015 UTC branches/clazy/finley/test/finley_UnitTests.cpp revision 6511 by jfenwick, Fri Mar 3 01:41:39 2017 UTC
# Line 1  Line 1 
1    
2  /*****************************************************************************  /*****************************************************************************
3  *  *
4  * Copyright (c) 2003-2015 by The University of Queensland  * Copyright (c) 2003-2016 by The University of Queensland
5  * http://www.uq.edu.au  * http://www.uq.edu.au
6  *  *
7  * Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
8  * Licensed under the Open Software License version 3.0  * Licensed under the Apache License, version 2.0
9  * http://www.opensource.org/licenses/osl-3.0.php  * http://www.apache.org/licenses/LICENSE-2.0
10  *  *
11  * Development until 2012 by Earth Systems Science Computational Center (ESSCC)  * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12  * Development 2012-2013 by School of Earth Sciences  * Development 2012-2013 by School of Earth Sciences
# Line 14  Line 14 
14  *  *
15  *****************************************************************************/  *****************************************************************************/
16    
17    #include <escript/EsysMPI.h>
18    
19    #include "FinleyDomainTestCase.h"
20    
 #include "MeshAdapterTestCase.h"  
21  #include <cppunit/CompilerOutputter.h>  #include <cppunit/CompilerOutputter.h>
22  #include <cppunit/TestResult.h>  #include <cppunit/TestResult.h>
23  #include <cppunit/TestResultCollector.h>  #include <cppunit/TestResultCollector.h>
# Line 24  Line 26 
26    
27  using namespace CppUnit;  using namespace CppUnit;
28    
 #include "esysUtils/Esys_MPI.h"  
   
29  int main(int argc, char* argv[])  int main(int argc, char* argv[])
30  {  {
31  #ifdef ESYS_MPI  #ifdef ESYS_MPI
# Line 39  int main(int argc, char* argv[]) Line 39  int main(int argc, char* argv[])
39      TestResultCollector result;      TestResultCollector result;
40      controller.addListener(&result);      controller.addListener(&result);
41      TestRunner runner;      TestRunner runner;
42      runner.addTest(MeshAdapterTestCase::suite());      runner.addTest(FinleyDomainTestCase::suite());
43      runner.run(controller);      runner.run(controller);
44      CompilerOutputter outputter( &result, std::cerr );      CompilerOutputter outputter(&result, std::cerr);
45      outputter.write();      outputter.write();
46  #ifdef ESYS_MPI  #ifdef ESYS_MPI
47      MPI_Finalize();      MPI_Finalize();

Legend:
Removed from v.5593  
changed lines
  Added in v.6511

  ViewVC Help
Powered by ViewVC 1.1.26