www.delorie.com/gnu/docs/greg/greg_10.html   search  
 
Buy GNU books!


Greg testing framework

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.0.2 Building

To build Greg -

Type ./configure in the main Greg directory to configure for your system.

Once configuration is complete, go into the `Library' subdirectory and type make install to build and install things.

You should end up with -

A dynamic library, which can be dynamically linked into Guile with (if (not (feature? 'greg-pty)) (dynamic-call "scm_init_greg" (dynamic-link "libgreg.so")))

a module defining Guile procedures and variables providing the main test framework, which can be accessed using (use-modules (ice-9 greg)),

and a Guile script that you can use to run tests from the unix command-line (`greg').

You MUST install Greg before you attempt to use it (or run it's self-tests) because the Guile modules making it up must be in place in the standard Guile directories before Greg can work.

Once Greg is installed, you can type make check in the Tests directory to get Greg to test itself.

You can type make in the Documentation directory to build the documentation in info, html and dvi formats.

NB.
You must have the `makeinfo' program installed to build the documentation in info format
You must have the `texi2html' program installed to build the documentation in html format
You must have the `texi2dvi' program installed to build the documentation in dvi format


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003