cd gandalf/TestFramework
make
./cUnit -all
This compiles the main Gandalf test program cUnit and runs through
all the tests. There is at least one test program for each Gandalf package.
You can also build test programs individually by cd'ing into a Gandalf package and typing the command make all. For instance, the commands
cd gandalf/common
make all
./list_test
will compile all the test programs in the Common package, and run the linked
list test program.
The main test program TestFramework/cUnit.c compiles and links with
all the individual test programs in the Gandalf packages.
Input files are all in the gandalf/TestInput directory. Output files are written into the gandalf/TestOutput directory. Test programs are designed to purge any old TestOutput files before running the test program.