1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
<!doctype html public "-//W30//DTD W3 HTML 2.0//EN">
<HTML>
<!-- This file was generated using SDF 2.001 by
Ian Clatworthy (ianc@mincom.com). SDF is freely
available from http://www.mincom.com/mtr/sdf. -->
<HEAD>
<TITLE>SDF 2.001: SDF Reference: sdftest - Execute SDF Regression Tests</TITLE>
</HEAD>
<BODY BGCOLOR="ffffff">
<DIV CLASS="header">
<P><IMG SRC="../sdflogo.gif" ALIGN="Right"></P>
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="in_prog.html">Parent Topic</A> | <A HREF="sdfget.html">Previous Topic</A> | <A HREF="sdngen.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
<BR CLEAR="Right">
</DIV>
<DIV CLASS="main">
<H1><A NAME="sdftest">11.7. sdftest - Execute SDF Regression Tests</A></H1>
<HR>
<H2><A NAME="Purpose">Purpose</A></H2>
<P><B>sdftest</B> executes the regression tests provided with SDF.</P>
<HR>
<H2><A NAME="Usage">Usage</A></H2>
<PRE>
sdftest
</PRE>
<HR>
<H2><A NAME="Description">Description</A></H2>
<P>This program is typically run just after SDF has been installed to check that the installation succeeded. However, users should be able to run it at any time to confirm that everything is still ok.</P>
<P>This program works by iterating over the <EM>sdf</EM> files in the <TT>test</TT> directory where SDF is installed. For each file called <EM>xx.sdf</EM>, it generates <EM>xx.out</EM> and <EM>xx.log</EM> files containing the output and error logs, respectively. These files are then validated against the expected files in the <TT>checked</TT> directory.</P>
<P><HR WIDTH="80%" ALIGN="Left">
<STRONG>Note: </STRONG>Generated files which are ok are deleted. However, if a test fails, the file which failed is not deleted, so a user can then use <CMD>diff</CMD>, say, to analyse what the problem is.
<HR WIDTH="80%" ALIGN="Left"></P>
<HR>
<H2><A NAME="Limitations and future directions">Limitations and future directions</A></H2>
<P>This program only provides regression testing on the core SDF engine. In particular, it doesn't provide regression testing on the drivers used to generate each of the different output formats (e.g. HTML, PostScript).</P>
</DIV>
<DIV CLASS="footer">
<DIV CLASS="navigate">
<P ALIGN="Center"><A HREF="re_sdf.html">Contents</A> | <A HREF="in_prog.html">Parent Topic</A> | <A HREF="sdfget.html">Previous Topic</A> | <A HREF="sdngen.html">Next Topic</A> <BR><A HREF="../index.html">Home</A> | <A HREF="../catalog.html">Catalog</A></P>
</DIV>
</DIV>
</BODY>
</HTML>
|