Lots of rearranging. Source now found in the trunk/src folder.
[asgard.git] / tests / README
blobbeea2239d512ff93f357ab9e4229097e945dd77a
1 How to Add New Tests
2 ================================================================================
3 0. Move your unit testing cpp file to tests/testXYZ.cpp.  Where XYZ is the most
4 recent three digit number.  1. Open tests/Makefile
5 2. Add a new test target.  Like so:
7 testXYZ:
8    cp testXYZ.cpp $(testdir)
9    cd $(testdir) && make testXYZ
11 3. Open tests/Makefile.Tests
12 4. Add a new testXYZ target.
13 5. Add the g++ command line that successfully compiles the file.
14 6. After #4 and #5 you should have:
16 testXYZ:
17    g++ -o testXYZ test.cpp <cpp files needed to compile>
19 How to Run a Test
20 ================================================================================
21 0. Type: make testXYZ
23 How to Clean Up $(testdir)
24 ================================================================================
25 0. Type: make clean