diff --git a/README b/README index d369954122822adb0ae8dd40c971bc73dd4c0f10..1231c4e51aa5ce19163a3425fc7dee39fe0a4d44 100644 --- a/README +++ b/README @@ -6,7 +6,7 @@ implement them. 19th March 2002 Building and Packaging on Linux ------------------ +------------------------------- Either download http://csgsoft.doc.ic.ac.uk/datadec/datadec-1.0-1.i386.rpm and install it (rpm -i) from there, or do a source build: @@ -52,3 +52,15 @@ Building on Solaris or Other Unices 5. install the package (as root): pkgadd -d datadec-1.0-1-sol8-sparc-dcw all + + +Testing +------- + +Having built datadec in the source directory, you can also compile and +run a test harness in the test directory. test/cdata.in is the datadec +input file which declares some recursive data types (lists and trees), +and ctest.c is the test harness that uses them. cd into test and run make +to turn cdata.in into cx.h and cx.c, and to compile cx.c and ctest.c and +link them.. +