File: CHECK

package info (click to toggle)
snapraid 13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,656 kB
  • sloc: ansic: 46,018; makefile: 1,004; sh: 154
file content (30 lines) | stat: -rw-r--r-- 747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SnapRAID CHECK
==============

The regression test for SnapRAID is run using the command:

    make check

You can also run the regression test with Valgrind using:

    ./configure --enable-valgrind
    make check

To perform a coverage test, use the following commands:

    ./configure --enable-coverage
    make lcov_reset
    make check
    make lcov_capture
    make lcov_html

Then, open the file `./cov/index.html` in your browser to view the results.

Note that the coverage analysis excludes error-handling code that causes
immediate program termination. This excluded code is 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