src/Main/UnitTest.cpp file

UnitTest's Charm++ main chare and main().


UnitTest's Charm++ main chare and main(). This file contains the definition of the Charm++ main chare, equivalent to main() in Charm++- land, running the serial and Charm++ unit tests as well as the ordinary main() function, running the MPI unit test suite.


namespace unittest
UnitTest declarations and definitions.


class Main
Charm++ main chare for the file converter executable, fileconv.
class execute
Charm++ chare execute.


CProxy_Main mainProxy
Charm handle to the main proxy, facilitates call-back to finalize, etc., must be in global scope, unique per executable.
tk::CProxy_ChareStateCollector stateProxy
Chare state collector Charm++ chare group proxy.
bool g_trace

Variable documentation

bool g_trace

If true, call and stack traces are to be output with exceptions