mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
Renames TEST to CHECK to avoid name collisions.
In Windows it collides with test/ dir.
This commit is contained in:
parent
2e78e3c6c1
commit
01b1f9a2cc
2 changed files with 3 additions and 3 deletions
32
CHECK
Normal file
32
CHECK
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
SnapRAID CHECK
|
||||
==============
|
||||
|
||||
The regression test of SnapRAID is run using the command:
|
||||
|
||||
make check
|
||||
|
||||
You can also run the regression test in valgrind with:
|
||||
|
||||
./configure --enable-valgrind
|
||||
make check
|
||||
|
||||
To run a coverage test you should use:
|
||||
|
||||
./configure --enable-coverage
|
||||
make lcov_reset
|
||||
make check
|
||||
make lcov_capture
|
||||
make lcov_html
|
||||
|
||||
and open the file ./cov/index.html in your browser to see the results.
|
||||
|
||||
Please note that in the coverage analysis we exclude the handling of all
|
||||
the error conditions that result in an immediate termination of the program.
|
||||
You can recognize this excluded code because it's enclosed between
|
||||
the LCOV_EXCL_START and LCOV_EXCL_STOP keywords.
|
||||
|
||||
To test with the clang static analyzer use:
|
||||
|
||||
scan-build ./configure
|
||||
scan-build make
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue