Debian Codegraph @

hdf/test/README

raw
1 This directory contains the test suite for the basic library, libdf.a.
2 After running the makefile at either the higher level or this level,
3 you will find two executable programs, testhdf and fortest, in this
4 directory. Testhdf tests the C functions, while fortest the Fortran
5 interface. At the end of execution, each program reports how many
6 errors occurred. Please contact us at [email protected]
7 if the test fails on your machine.
8
9 Special notes for fortest:
10 "fortest" is just a C-code front to parse command line arguments.
11 It produces a file, fortest.arg which contains lines of instruction
12 to invoke the real fortran test which is called fortestF. Each line
13 in fortest.arg contains a command and a parameter.
14
15 Command Parameter Description
16 ------- --------- -----------
17
18 Test Name Test <Name>
19 Skip Name Skip test <Name>
20 Cleanup String How to cleanup *.hdf
21 Verbosity Integer Verbosity = <Integer>
22
23 "fortest" then invokes "fortestF" with "fortest.arg" as input.
24
25 Cleanup Commands
26 ----------------
27 If <String> is Yes/No, it directs to delete the *.hdf files or not.
28 If <String> is not Yes/No, it represents the system command to delete
29 the *.hdf files. (NOTE: specifying a system command does not imply
30 Cleanup.)
31
32
33
34 Verbosity convention
35 --------------------
36
37 The higher the verbosity value, the more information printed.
38 So, output for a higher verbosity value also includes the output of
39 all lower verbosity values.
40
41 Value Description
42 0 None: No informational message.
43 1 "All tests passed"
44 2 Header of overall test
45 3 Default: header and results of individual test
46 4
47 5 Low: Major category of tests.
48 6
49 7 Medium: Minor category of tests such as functions called.
50 8
51 9 High: Highest level. All information.
52