This is the index page of the OpenLCB C/C++ prototype test directory. It contains scaffolding and test code to do a hardware-independent build of the prototype library, compile and link test executables, and then compare the results with expected values.
To build and run the tests, do
make -s run
This builds and runs several executables, and compares their output to reference files. This is silent unless an error happens.
This area contains a number of subdirectories organized by language and/or platform.
../OlcbCommonCAN: primary source code, in the form of the hardware-independent OpenLCB library.
scaffold: Stand-in code for the CAN interface, et al, used for testing. To port to specific hardware, implement these classes.
test: Test routines invoked via “make run”. The “results” subdirectory contains copies of outputs to be compared.
Each directory in turn can have multiple projects and libraries in subdirectories.
The content of this development area, including code, documents and web pages, is kept in the OpenLCB SourceForge.net SVN repository in the “trunk/prototypes/C” directory. To check it out, please do:
svn co http://svn.code.sf.net/p/openlcb/svn/trunk/prototypes/newC/libraries libraries
For more information on the SVN source code management tool, please see the SVN website and the online SVN book.
This web sites contains trademarks and copyrighted information. Please see the Licensing page.
This is SVN $Revision: 3111 $ of