Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 91213ddcfbe7f54821d42c2d9e091326 > files > 2475

gap-system-packages-4.4.12-5mdv2010.0.i586.rpm

#!/bin/sh
#############################################################################
##
#W  mktest            Test the RCWA manual examples            Volkmar Felsch
##
#H  $Id: mktest,v 1.14 2007/09/25 10:51:06 stefan Exp $
##
#Y  Copyright (C) 2002, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
##
##  mktest [-f] [-i] [-o] [-d] [-c]
##
##  This procedure runs an automatic test of all examples given in the RCWA
##  documentation files.
##
##  More precisely: Let 'file.xml' be one of these files. Then the test
##  function runs all examples given in that file and constructs (in the
##  current directory) a new version 'file.xtst' of the given file which is
##  up-to-date with respect to the output of the examples.
##
##  The options have the following meaning:
##
##  If '-f' is specified run a full test (including the 'no test' examples if
##  there are any).
##
##  If '-i' is specified save the input file for the examples in a file
##  'file.in'.
##
##  If '-o' is specified save the output file of the examples in a file
##  'file.out'.
##
##  If '-d' is specified save the differences between the old and the new
##  manual file in a file 'file.dif'.
##
##  If '-d' and '-c' are specified use the context output format of the
##  'diff' command.
##

#############################################################################
##
##  Define the local call of the proper test function.
##
mkxtest="../../../../doc/test/mkxtest.sh"

#############################################################################
##
##  Get the options.
##
options=$*

#############################################################################
##
##  Run the test for all documentation files (in some arbitrary order).
##
$mkxtest $options -r rcwa rcwamap
$mkxtest $options -r rcwa rcwagrp
$mkxtest $options -r rcwa rcwamono