Debian Codegraph @

test/README

raw
1 This directory contains the files needed for validation tests of several of
2 the plot utilities. The tests are run by doing `make check'.
3
4 The `plot2fig' validation test has been observed to fail on MS-DOS and NeXT
5 machines, due to incorrect formatting of floating-point numbers. If any of
6 the other tests should fail, please report it.
7
8 HOW THE TESTS ARE DONE
9
10 Each .test script generates a .out output file, which is compared with the
11 corresponding .xout (`expected output') file. If there are any significant
12 differences, the test fails.
13
14 Most of the generated .out files are translations of the file `graph.xout'
15 to other graphics formats. The file `graph.xout' is in the portable
16 (human-readable) variant of GNU Metafile format. You may view it in a
17 popped-up X window, if you are interested, by doing `plot -TX graph.xout'.
18
19 SPECIAL FEATURES
20
21 The plot2pcl.test script compares the generated output against either
22 plot2pcl.xout or plot2pcl.yout. The latter is used if the
23 `--enable-ps-fonts-in-pcl' option was passed to `configure'. In that case
24 a different comparison file is needed, because `--enable-ps-fonts-in-pcl'
25 allows the output from `plot -Tpcl' to contain any of the 35 PS fonts, such
26 as Times-Roman.
27
28 The comparison performed by plot2hpgl.test is similar.