bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about the tests


From: Dumas Patrice
Subject: Re: about the tests
Date: Thu, 18 Dec 2003 20:20:07 +0100
User-agent: Mutt/1.4.1i

Hi,

Here is a perl script for tests. It is not really done but almost.
Here is what test.pl -h give (hoping it let you understand what it does...):


test.pl [options] [format specifications] file
file:
    texinfo manual to test

options:
    -c     create new reference (.ok) files
    -r     regenerate reference files with the result of the commands
    -k     keep result files even if there was no error
    -v     verbose
    -h     this help

format specifications:
    format [no|command <command>|options <options>|files <files>|file <file>]
    %% is transformed into the file basename
        no        don't test this format
        status    exit status
        command   command to run
        options   options for the command
        files     files generated to be compared with referecnes
        file      input file if not the same than main file


I still haven't done any test, but I think this script is almost right now
(except there should be a list of result files which shouldn't be diffed).

I'll be back in 2 weeks, and then I will begin doing test files.

Pat

Attachment: test.pl
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]