/[escript]/trunk/escript/test/escript_UnitTest.cpp
ViewVC logotype

Annotation of /trunk/escript/test/escript_UnitTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (hide annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 5 months ago) by robwdcock
File size: 1921 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


1 robwdcock 638 #include <iostream>
2    
3     #include "DataEmptyTestCase.h"
4     #include "DataConstantTestCase.h"
5     #include "DataTaggedTestCase.h"
6     #include "DataExpandedTestCase.h"
7     #include "DataFactoryTestCase.h"
8     #include "DataArrayTestCase.h"
9     #include "DataCachedTestCase.h"
10     #include "DataArrayViewTestCase.h"
11     #include "DataBlocks2DTestCase.h"
12     #include "DataVectorTestCase.h"
13     #include "TaipanTestCase.h"
14     #include "DataVariableTestCase.h"
15     #include "DataCTestCase.h"
16     #include "DataAlgorithmAdapterTestCase.h"
17     #include "FunctionSpaceTestCase.h"
18     #include "DataProfTestCase.h"
19     #include "DataTestCase.h"
20    
21     #include "CppUnitTest/TestRunner.h"
22    
23     using namespace CppUnitTest;
24    
25 robwdcock 642 int main(int argc, char* argv[])
26 robwdcock 638 {
27     //
28     // object which runs all of the tests
29     TestRunner runner;
30     //
31     // add the RangeTestCase suite of tests to the runner
32     runner.addTest ("DataEmpty", DataEmptyTestCase::suite());
33     runner.addTest ("DataConstant", DataConstantTestCase::suite());
34     runner.addTest ("DataTagged", DataTaggedTestCase::suite());
35     runner.addTest ("DataExpanded", DataExpandedTestCase::suite());
36     runner.addTest ("DataFactory", DataFactoryTestCase::suite());
37     runner.addTest ("DataArray", DataArrayTestCase::suite());
38     runner.addTest ("DataCached", DataCachedTestCase::suite());
39     runner.addTest ("DataArrayView", DataArrayViewTestCase::suite());
40     runner.addTest ("DataBlocks2D", DataBlocks2DTestCase::suite());
41     runner.addTest ("DataVector", DataVectorTestCase::suite());
42     runner.addTest ("Taipan", TaipanTestCase::suite());
43     runner.addTest ("DataVariable", DataVariableTestCase::suite());
44     runner.addTest ("DataC", DataCTestCase::suite());
45     runner.addTest ("DataAlgorithmAdapter", DataAlgorithmAdapterTestCase::suite());
46     runner.addTest ("FunctionSpace", FunctionSpaceTestCase::suite());
47     runner.addTest ("DataProf", DataProfTestCase::suite());
48     runner.addTest ("Data", DataTestCase::suite());
49    
50     // actually run the unit tests.
51     runner.run (argc, argv);
52     return 0;
53     }
54    
55    

  ViewVC Help
Powered by ViewVC 1.1.26