ViewVC logotype

Annotation of /trunk-mpi-branch/bruce/test/bruce_UnitTests.cpp

Parent Directory Parent Directory | Revision Log Revision Log

Revision 682 - (hide annotations)
Mon Mar 27 02:43:09 2006 UTC (15 years, 5 months ago) by robwdcock
Original Path: trunk/bruce/test/bruce_UnitTests.cpp
File size: 546 byte(s)

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
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3

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

  ViewVC Help
Powered by ViewVC 1.1.26