Index of /research/sparse/cholmod/CHOLMOD/Tcov
Name Last modified Size Description
Parent Directory 11-Aug-2008 10:12 -
License.txt 13-Dec-2006 08:31 1k
Make.inc 29-Nov-2006 13:33 1k
Makefile 22-Sep-2008 16:24 38k
Matrix/ 03-May-2007 21:04 -
amdtest.c 13-Dec-2006 08:28 11k
aug.c 13-Dec-2006 08:28 7k
camdtest.c 13-Dec-2006 08:28 12k
cctest.c 13-Dec-2006 08:29 12k
cm.c 06-Aug-2008 06:40 44k
cm.h 10-Aug-2008 16:44 8k
cmread.c 13-Dec-2006 08:29 3k
comments.txt 27-Nov-2006 12:23 1k
cov.awk 10-Aug-2005 22:01 1k
covall 30-Nov-2006 06:46 1k
covall.sol 29-Nov-2006 13:35 1k
cover 28-Mar-2005 13:24 1k
covs 28-Nov-2006 16:52 1k
ctest.c 13-Dec-2006 08:29 10k
gcovs 14-Jul-2008 19:12 1k
gpl.txt 13-Jun-2005 19:09 18k
huge.c 03-May-2007 21:08 7k
leak.c 13-Dec-2006 08:29 3k
lpdemo.c 13-Dec-2006 08:29 26k
make_go.output 26-Aug-2006 18:26 19k
memory.c 13-Dec-2006 08:29 12k
null.c 29-Jul-2008 16:01 16k
null2.c 19-Sep-2008 11:58 108k
raw_factor.c 13-Dec-2006 08:29 23k
solve.c 10-Aug-2008 16:45 36k
test_ops.c 29-Jul-2008 16:01 29k
tmp/ 25-Mar-2009 18:03 -
unpack.c 13-Dec-2006 08:29 4k
Tcov directory: Torture test for CHOLMOD, with statement coverage.
--------------------------------------------------------------------------------
This test suite is not required to compile and use CHOLMOD. It is thus
not ported to all architectures. Linux is assumed; see the Makefile for
running on Solaris. Use tcov instead of gcov in the "covall" script. Edit
the Makefile and change the definition of CC. You may need to change PRETTY
as well. You will need to edit LIB to reflect the proper LAPACK and BLAS
libraries.
Requires all CHOLMOD modules except the Partition Module, which it can
optionally use (and test). Also acts as a statement coverage test for
AMD, COLAMD, and CCOLAMD.
Type "make" in this directory to compile CHOLMOMD with statement coverage
testing. Then type "make go" to run the tests.
Note that about 500MB of disk space is required, mostly in the tmp/
directory.
Every line of AMD, CAMD, COLAMD, CCOLAMD, and CHOLMOD will be exercised,
and their results checked. The line "All tests passed" should be
printed for each test on stderr. Some matrices will report NaN as their
maximum error; these are the four singular test matrices (Matrix/1_0,
Matrix/3singular, Matrix/c3singluar, and Matrix/z3singular). These test
results are expected. Nan's will also appear in tmp/galenet_nan.out and
tmp/l_galenet_nan.out; these are generated intentionally, to test the code's
NaN-handling features.
The source code files are first preprocessed with cc -E, and the resulting
file (z_*.c, zz_*.c, l_*.c, or zl_*.c) is then compiled. This is to ensure
that all lines within macros and included *.c files are tested (take a look at
z_updown.c and z_solve.c if you'd like to see how loop-unrolling and
real/complex templates are done in CHOLMOD, and compare those files with their
source files in ../Modify and ../Cholesky).
Note that many, many error messages will appear in the test output itself
(tmp/*.out), because all of CHOLMOD's error handling is checked as well.
These errors are expected. Any unexpected error will cause the test to fail.
The last line of each output file should be "All tests successful".
To remove all but the original source files and output files from
this directory, type "make clean". To remove all but the
files in the original distribution, type "make distclean".
The output of "make go" is in the "make_go.output" file.