/[escript]/trunk/finley/test/finley_UnitTests.cpp
ViewVC logotype

Contents of /trunk/finley/test/finley_UnitTests.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 700 - (show annotations)
Thu Apr 6 00:13:40 2006 UTC (13 years, 7 months ago) by gross
File size: 464 byte(s)
A few changes in the build mechanism and the file structure so scons can build release tar files:

  * paso/src/Solver has been moved to paso/src 
  * all test_.py are now run_.py files and are assumed to be passing python tests. they can run by 
    scons py_tests and are part of the release test set
  * escript/py_src/test_ are moved to escript/test/python and are installed in to the build directory 
    (rather then the PYTHONPATH).
  * all py files in test/python which don't start with run_ or test_ are now 'local_py_tests'. they are installed i
    by not run automatically.
  * CppUnitTest is now treated as a escript module (against previous decisions).
  * scons realse builds nor tar/zip files with relvant source code (src and tests in seperate files)

the python tests don't pass yet due to path problems.


1 #include "MeshAdapterTestCase.h"
2
3 #include "tools/CppUnitTest/TestRunner.h"
4
5 using namespace CppUnitTest;
6
7 int main(int argc, char* argv[])
8 {
9 //
10 // object which runs all of the tests
11 TestRunner runner;
12 //
13 // add the RangeTestCase suite of tests to the runner
14 runner.addTest ("MeshAdapter", MeshAdapterTestCase::suite());
15
16 // actually run the unit tests.
17 runner.run (argc, argv);
18 return 0;
19 }
20

  ViewVC Help
Powered by ViewVC 1.1.26